This is the Meta Information used by a Jacksum generated file list.
getAlgorithm
public String getAlgorithm()
Gets the algorithm.
- the code for the algorithm
getComment
public String getComment()
Gets a comment (Homepage, OS, Architecture, etc.).
getCommentchars
public String getCommentchars()
getEncoding
public String getEncoding()
Gets the encoding of the checksum
- the encoding of the checksum
getFilesep
public char getFilesep()
getGroupChar
public char getGroupChar()
getGrouping
public int getGrouping()
getSeparator
public String getSeparator()
getTimestampFormat
public String getTimestampFormat()
getVersion
public String getVersion()
Gets the version of the meta info.
isAlternate
public boolean isAlternate()
isEncoding
public boolean isEncoding()
Is encoding wanted?
isGrouping
public boolean isGrouping()
isPathInfo
public boolean isPathInfo()
isRecursive
public boolean isRecursive()
Is recursive specified?
isSeparatorWanted
public boolean isSeparatorWanted()
isTimestampFormat
public boolean isTimestampFormat()
parse
public void parse(String thisLine)
throws MetaInfoVersionException
Parses a metaInfo String and fills the object.
thisLine
- a String containing MetaInfo
setAlgorithm
public void setAlgorithm(String algorithm)
Sets the algorithm.
algorithm
- the code for the algorithm
setAlternate
public void setAlternate(boolean _A)
setCommentchars
public void setCommentchars(String commentchars)
setEncoding
public void setEncoding(String encoding)
Sets the encoding of the checksum
encoding
- of the checksum
setFilesep
public void setFilesep(char filesep)
setGroupChar
public void setGroupChar(char groupChar)
setGrouping
public void setGrouping(int grouping)
setPathInfo
public void setPathInfo(boolean _p)
setRecursive
public void setRecursive(boolean _r)
Sets a flag if there is recursive processing.
_r
- if recursive processing has been specified
setSeparator
public void setSeparator(String separator)
setTimestampFormat
public void setTimestampFormat(String timestampFormat)
setVersion
public void setVersion(String version)
Sets the version of the meta info.
version
- of the meta info
toString
public String toString()
A String representation of the Meta Information.
- a String representing the Meta Information