net.sf.jpkgmk.pkgmap
Class PkgMapEntryComment
java.lang.Object
net.sf.jpkgmk.AbstractLineProvider
net.sf.jpkgmk.pkgmap.PkgMapEntryComment
- All Implemented Interfaces:
- LineProvider, PkgMapEntry
public class PkgMapEntryComment
- extends AbstractLineProvider
- implements PkgMapEntry
- Since:
- 1.0
- Version:
- $Revision: 2 $ $Date: 2008-08-20 21:14:19 +0200 (Mi, 20 Aug 2008) $
- Author:
- gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PkgMapEntryComment
public PkgMapEntryComment(java.lang.String text)
- Parameters:
text
-
isHasWhitespaceSeparator
public boolean isHasWhitespaceSeparator()
- Returns:
setHasWhitespaceSeparator
public void setHasWhitespaceSeparator(boolean hasWhitespaceSeparator)
- Parameters:
hasWhitespaceSeparator
- If the "!" is separated by a whitespace from the rest of the line or not.
getLine
public java.lang.String getLine()
- Specified by:
getLine
in interface LineProvider
- Returns:
- The pkgmap line
getType
public PkgMapEntryType getType()
- Specified by:
getType
in interface PkgMapEntry
- Returns:
- Returns the type of this entry
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj,
boolean ignoreLastModified)
- Specified by:
equals
in interface PkgMapEntry
ignoreLastModified
- whether or not the "lastModified" field should be ignored when checking for equality
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2007-2008. All Rights Reserved.