public abstract class FileInfo extends TransferableObject implements Renderable
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
absolutePath |
protected FileDataType |
dataType |
protected FileType |
fileType |
protected boolean |
isDirectory |
protected boolean |
isExisting |
protected long |
lastModified |
protected long |
length |
protected java.lang.String |
relBasePath |
protected java.io.File |
rootDir |
| Modifier | Constructor and Description |
|---|---|
protected |
FileInfo(java.lang.String fileName) |
protected |
FileInfo(java.lang.String fileName,
FileDataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAbsolutePath() |
java.lang.String |
getBasePath() |
FileDataType |
getDataType() |
java.lang.String |
getFileName() |
FileType |
getFileType() |
long |
getLastModified() |
long |
getLength() |
java.awt.Color |
getRenderColor() |
javax.swing.Icon |
getRenderIcon() |
java.lang.String |
getRenderText() |
boolean |
isAscii() |
boolean |
isBinary() |
boolean |
isDirectory() |
boolean |
isExisting() |
boolean |
isFile() |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
clone, deepCloneconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringprotected java.io.File rootDir
protected java.lang.String relBasePath
protected java.lang.String absolutePath
protected FileType fileType
protected FileDataType dataType
protected boolean isExisting
protected boolean isDirectory
protected long length
protected long lastModified
protected FileInfo(java.lang.String fileName)
protected FileInfo(java.lang.String fileName,
FileDataType dataType)
public final FileType getFileType()
public final long getLastModified()
public final FileDataType getDataType()
public final boolean isAscii()
public final boolean isBinary()
public final boolean isExisting()
public final java.lang.String getFileName()
public final java.lang.String getBasePath()
public final java.lang.String getAbsolutePath()
public boolean isDirectory()
public boolean isFile()
public long getLength()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.awt.Color getRenderColor()
getRenderColor in interface Renderablepublic java.lang.String getRenderText()
getRenderText in interface Renderablepublic final javax.swing.Icon getRenderIcon()
getRenderIcon in interface Renderablepublic ToString toString(ToString s)
DumpabletoString in interface DumpabletoString in class DumpableObjectpublic DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class DumpableObjectCopyright © 2014 EsprIT-Systems. All Rights Reserved.