|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.core.utils.file.jt.impl.JTDFile
public final class JTDFile
Cette classe réprésente un fichier JTD et toutes ses caractèristiques.
Constructor Summary | |
---|---|
JTDFile()
Construct a new JTDFile. |
Method Summary | |
---|---|
AbstractJTFileHeader |
getHeader()
Return the header of the file. |
java.io.DataInputStream |
getStream()
Return the strem to the file. |
boolean |
isCorrectSeparators()
Set if the file has the correct separators or not. |
boolean |
isValid()
Indicate if the file is valid. |
void |
setCorrectSeparators(boolean correctSeparators)
Set if the file has the correct separators or not. |
void |
setStream(java.io.DataInputStream stream)
Set the stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTDFile()
Method Detail |
---|
public AbstractJTFileHeader getHeader()
JTNotZippedFile
getHeader
in interface JTNotZippedFile
public java.io.DataInputStream getStream()
public void setStream(java.io.DataInputStream stream)
stream
- The stream to the file.public boolean isValid()
JTFile
isValid
in interface JTFile
public void setCorrectSeparators(boolean correctSeparators)
JTNotZippedFile
setCorrectSeparators
in interface JTNotZippedFile
correctSeparators
- true if the file has correct separators else false.public boolean isCorrectSeparators()
JTNotZippedFile
isCorrectSeparators
in interface JTNotZippedFile
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |