protected class ClientCodeWrapper.WrappedFileObject extends Object implements FileObject
Modifier and Type | Field and Description |
---|---|
protected FileObject |
clientFileObject |
Modifier and Type | Method and Description |
---|---|
boolean |
delete() |
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
long |
getLastModified() |
String |
getName() |
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
Reader |
openReader(boolean ignoreEncodingErrors) |
Writer |
openWriter() |
String |
toString() |
URI |
toUri() |
protected FileObject clientFileObject
public URI toUri()
toUri
in interface FileObject
public String getName()
getName
in interface FileObject
public InputStream openInputStream() throws IOException
openInputStream
in interface FileObject
IOException
public OutputStream openOutputStream() throws IOException
openOutputStream
in interface FileObject
IOException
public Reader openReader(boolean ignoreEncodingErrors) throws IOException
openReader
in interface FileObject
IOException
public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent
in interface FileObject
IOException
public Writer openWriter() throws IOException
openWriter
in interface FileObject
IOException
public long getLastModified()
getLastModified
in interface FileObject
public boolean delete()
delete
in interface FileObject
Copyright © 2017 earcam. All rights reserved.