|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.commons.vfs.AbstractVEntry<V>
org.millscript.commons.vfs.AbstractVFile<LocalVolume>
org.millscript.commons.vfs.protocols.file.LocalFile
public class LocalFile
This class implements a virtual filesystem file for a local filesystem file.
| Method Summary | |
|---|---|
boolean |
exists()
Tests to see if the entry exits. |
java.io.OutputStream |
getAppendOutputStream()
Returns an output stream for appending to the existing file contents. |
java.io.File |
getFile()
Returns the File for this local virtual file. |
java.io.InputStream |
getInputStream()
Returns an input stream for reading the file contents. |
java.io.OutputStream |
getOutputStream()
Returns an ouptut stream for writing the file contents. |
LocalFile |
toLocal()
Returns this virtual entry as a local entry, which may simply be this object. |
| Methods inherited from class org.millscript.commons.vfs.AbstractVFile |
|---|
appendRelativePath, appendRelativePathOnVolume, appendURI, decorate, getAppendWriter, getContentMIMEType, getReader, getWriter, toString |
| Methods inherited from class org.millscript.commons.vfs.AbstractVEntry |
|---|
appendAbsolutePath, appendAbsolutePathOnVolume, getAbsolutePath, getAbsolutePathOnVolume, getMIMEType, getMIMETypeHandler, getName, getParent, getRelativePath, getRelativePathOnVolume, getURI, getVolume |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.millscript.commons.vfs.VEntry |
|---|
appendAbsolutePath, appendAbsolutePathOnVolume, getAbsolutePath, getAbsolutePathOnVolume, getMIMEType, getMIMETypeHandler, getName, getParent, getRelativePath, getRelativePathOnVolume, getURI, getVolume |
| Method Detail |
|---|
public boolean exists()
VEntry
true if this entry exits and false
otherwiseVEntry.exists()public java.io.OutputStream getAppendOutputStream()
VFile
VFile.getAppendOutputStream()public java.io.File getFile()
public java.io.InputStream getInputStream()
VFile
VFile.getInputStream()public java.io.OutputStream getOutputStream()
VFile
VFile.getOutputStream()public LocalFile toLocal()
VEntry
toLocal in interface VEntrytoLocal in interface VFiletoLocal in class AbstractVFile<LocalVolume>AbstractVFile.toLocal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||