|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.armatiek.infofuze.stream.filesystem.AbstractFile
public abstract class AbstractFile
Constructor Summary | |
---|---|
AbstractFile()
|
Method Summary | |
---|---|
boolean |
canRead()
Tests whether the application can read the file. |
boolean |
exists()
Tests whether the file or directory exists. |
java.lang.String |
getCharacterEncoding()
Returns the name of the character encoding (MIME charset) of the character contents of this file. |
java.lang.String |
getMimeType()
Returns the mime type/content type of the contents of the file. |
boolean |
hasContent()
Tests whether this file has content. |
boolean |
isHidden()
Tests whether this is a hidden file. |
java.util.Iterator<FileIf> |
listFiles()
Returns an iterator of files and directories in the directory denoted by this file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.armatiek.infofuze.stream.filesystem.FileIf |
---|
equals, getInputStream, getName, getParent, getParentFile, getPath, isDirectory, isFile, lastModified, length |
Constructor Detail |
---|
public AbstractFile()
Method Detail |
---|
public boolean canRead()
FileIf
canRead
in interface FileIf
public boolean exists()
FileIf
exists
in interface FileIf
public java.lang.String getCharacterEncoding()
FileIf
getCharacterEncoding
in interface FileIf
public java.lang.String getMimeType()
FileIf
getMimeType
in interface FileIf
public boolean hasContent()
FileIf
hasContent
in interface FileIf
public boolean isHidden()
FileIf
isHidden
in interface FileIf
public java.util.Iterator<FileIf> listFiles()
FileIf
listFiles
in interface FileIf
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |