|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VEntry
This interface describes an entry in a virtual filesystem volume.
| Method Summary | |
|---|---|
java.lang.StringBuffer |
appendAbsolutePath(java.lang.StringBuffer buffer)
Appends the absolute path to this entry to the specified string buffer. |
java.lang.StringBuffer |
appendAbsolutePathOnVolume(java.lang.StringBuffer buffer)
Appends the absolute path to this entry, from the root folder of this entries volume, to the specified string buffer. |
java.lang.StringBuffer |
appendRelativePath(java.lang.StringBuffer buffer)
Appends the relative path to this entry to the specified string buffer. |
java.lang.StringBuffer |
appendRelativePathOnVolume(java.lang.StringBuffer buffer)
Appends the relative path to this entry, from the root folder of this entries volume, to the specified string buffer. |
java.lang.StringBuffer |
appendURI(java.lang.StringBuffer buffer)
Appends the URI of this entry to the specified string buffer. |
boolean |
exists()
Tests to see if the entry exits. |
java.lang.String |
getAbsolutePath()
Returns the absolute path to this entry. |
java.lang.String |
getAbsolutePathOnVolume()
Returns the absolute path to this entry, on this entries volume. |
java.lang.String |
getMIMEType(java.lang.String fileName)
Returns the MIME type for the specified file name. |
MIMETypeHandler |
getMIMETypeHandler(java.lang.String type)
Returns a MIME type handler for the specified type. |
java.lang.String |
getName()
Returns the name of this entry in the filesystem. |
VFolder |
getParent()
Returns the parent folder for this entry. |
java.lang.String |
getRelativePath()
Returns the relative path to this entry. |
java.lang.String |
getRelativePathOnVolume()
Returns the relative path to this entry, on this entries volume. |
java.net.URI |
getURI()
Returns the URI for this virtual filesystem entry. |
VVolume |
getVolume()
Returns the volume this entry is located on. |
VEntry |
toLocal()
Returns this virtual entry as a local entry, which may simply be this object. |
| Method Detail |
|---|
java.lang.StringBuffer appendAbsolutePath(java.lang.StringBuffer buffer)
buffer - the string buffer to append the path to
java.lang.StringBuffer appendAbsolutePathOnVolume(java.lang.StringBuffer buffer)
buffer - the string buffer to append the path to
java.lang.StringBuffer appendRelativePath(java.lang.StringBuffer buffer)
buffer - the string buffer to append the path to
java.lang.StringBuffer appendRelativePathOnVolume(java.lang.StringBuffer buffer)
buffer - the string buffer to append the path to
java.lang.StringBuffer appendURI(java.lang.StringBuffer buffer)
buffer - the string buffer to append the URI to
boolean exists()
true if this entry exits and false
otherwisejava.lang.String getMIMEType(java.lang.String fileName)
fileName - the file name to get a MIME type for
MIMETypeHandler getMIMETypeHandler(java.lang.String type)
type - the MIME type to get a handler for
java.lang.String getName()
VFolder getParent()
java.lang.String getAbsolutePath()
java.lang.String getAbsolutePathOnVolume()
java.lang.String getRelativePath()
java.lang.String getRelativePathOnVolume()
VVolume getVolume()
java.net.URI getURI()
VEntry toLocal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||