net.sf.jpkgmk.pkgmap
Class PkgMapEntryComment

java.lang.Object
  extended by net.sf.jpkgmk.AbstractLineProvider
      extended by 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 $

Nested Class Summary
static class PkgMapEntryComment.PkgMapEntryCommentParser
           
 
Constructor Summary
PkgMapEntryComment(java.lang.String text)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 boolean equals(java.lang.Object obj, boolean ignoreLastModified)
           
 java.lang.String getLine()
           
 PkgMapEntryType getType()
           
 int hashCode()
           
 boolean isHasWhitespaceSeparator()
           
 void setHasWhitespaceSeparator(boolean hasWhitespaceSeparator)
           
 java.lang.String toString()
           
 
Methods inherited from class net.sf.jpkgmk.AbstractLineProvider
write
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.jpkgmk.LineProvider
write
 

Constructor Detail

PkgMapEntryComment

public PkgMapEntryComment(java.lang.String text)
Parameters:
text -
Method Detail

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.