public class PathInfo extends TransferableObject implements java.lang.Comparable<PathInfo>, Renderable
Path.| Constructor and Description |
|---|
PathInfo(java.nio.file.Path path) |
PathInfo(java.nio.file.Path path,
boolean isReadAttributes) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PathInfo o) |
boolean |
equals(java.lang.Object obj) |
FileDataType |
getDataType() |
java.lang.String |
getElement(int index) |
int |
getElementCount() |
java.lang.String |
getFileName() |
java.lang.String |
getFullPathName() |
long |
getLastModified() |
PathInfo |
getParent() |
java.lang.String |
getParentPathName() |
java.awt.Color |
getRenderColor() |
javax.swing.Icon |
getRenderIcon() |
java.lang.String |
getRenderText() |
java.lang.String |
getRoot() |
long |
getSize() |
int |
hashCode() |
boolean |
isDirectory() |
boolean |
isExisting() |
boolean |
isFile() |
boolean |
startsWith(PathInfo path) |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
java.io.File |
toFile() |
java.nio.file.Path |
toPath() |
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, toStringpublic PathInfo(java.nio.file.Path path)
public PathInfo(java.nio.file.Path path,
boolean isReadAttributes)
public final java.lang.String getFileName()
public final java.lang.String getFullPathName()
public final java.lang.String getParentPathName()
public final PathInfo getParent()
public final java.lang.String getRoot()
public final int getElementCount()
public final java.lang.String getElement(int index)
public final FileDataType getDataType()
public final boolean isExisting()
public final long getSize()
public final long getLastModified()
public final boolean isDirectory()
public final boolean isFile()
public final int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final boolean startsWith(PathInfo path)
public int compareTo(PathInfo o)
compareTo in interface java.lang.Comparable<PathInfo>public final java.nio.file.Path toPath()
public final java.io.File toFile()
public java.awt.Color getRenderColor()
getRenderColor in interface Renderablepublic javax.swing.Icon getRenderIcon()
getRenderIcon in interface Renderablepublic java.lang.String getRenderText()
getRenderText 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.