org.jtheque.core.utils.file.jt
Class AbstractJTFileHeader

java.lang.Object
  extended by org.jtheque.core.utils.file.jt.AbstractJTFileHeader
Direct Known Subclasses:
JTDFileHeader

public abstract class AbstractJTFileHeader
extends java.lang.Object

Cette classe représente un header de ficheir JTheque.

Author:
Baptiste Wicht

Constructor Summary
AbstractJTFileHeader()
           
 
Method Summary
 int getDate()
          jtfileread Return the date of the file.
 int getFileVersion()
          Return the version of the file.
 java.lang.String getKey()
          Return the hash key.
 org.jtheque.utils.bean.Version getVersionJTheque()
          Return the version of JTheque.
abstract  boolean isComplete()
          Indicate if the file is complete or not.
 void setDate(int date)
          Set the date of the file.
 void setFileVersion(int fileVersion)
          Set the fileversion.
 void setKey(java.lang.String key)
          Set the hash key.
 void setVersionJTheque(org.jtheque.utils.bean.Version version)
          Set the JTheque Version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractJTFileHeader

public AbstractJTFileHeader()
Method Detail

getKey

public final java.lang.String getKey()
Return the hash key.

Returns:
The hash key.

setKey

public final void setKey(java.lang.String key)
Set the hash key.

Parameters:
key - The hash key.

setVersionJTheque

public final void setVersionJTheque(org.jtheque.utils.bean.Version version)
Set the JTheque Version.

Parameters:
version - The version of JTheque.

getVersionJTheque

public final org.jtheque.utils.bean.Version getVersionJTheque()
Return the version of JTheque.

Returns:
The version of JTheque.

setDate

public final void setDate(int date)
Set the date of the file.

Parameters:
date - The date of the file.

getDate

public final int getDate()
jtfileread Return the date of the file.

Returns:
The date of the file.

getFileVersion

public final int getFileVersion()
Return the version of the file.

Returns:
The version of the file.

setFileVersion

public final void setFileVersion(int fileVersion)
Set the fileversion.

Parameters:
fileVersion - The version of the file.

isComplete

public abstract boolean isComplete()
Indicate if the file is complete or not.

Returns:
true if the file is complete else false.


Copyright © 2009 JTheque. All Rights Reserved.