org.openrdf.http.object.behaviours
Class HTTPFileObjectSupport
java.lang.Object
org.openrdf.http.object.behaviours.FileObjectImpl
org.openrdf.http.object.behaviours.HTTPFileObjectSupport
- All Implemented Interfaces:
- javax.tools.FileObject, HTTPFileObject, ProxyObject, VersionedObject, RDFObject
public abstract class HTTPFileObjectSupport
- extends FileObjectImpl
- implements HTTPFileObject, ProxyObject
Implements the FileObject interface for HTTP Objects that are local or
remote.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.tools.FileObject |
getCharContent, getName, toUri |
HTTPFileObjectSupport
public HTTPFileObjectSupport()
initLocalFileObject
public void initLocalFileObject(File file,
boolean readOnly)
- Specified by:
initLocalFileObject in interface ProxyObject
getLastModified
public long getLastModified()
- Specified by:
getLastModified in interface javax.tools.FileObject- Overrides:
getLastModified in class FileObjectImpl
openInputStream
public InputStream openInputStream()
throws IOException
- Specified by:
openInputStream in interface javax.tools.FileObject- Overrides:
openInputStream in class FileObjectImpl
- Throws:
IOException
openOutputStream
public OutputStream openOutputStream()
throws IOException
- Specified by:
openOutputStream in interface javax.tools.FileObject- Overrides:
openOutputStream in class FileObjectImpl
- Throws:
IOException
openReader
public Reader openReader(boolean ignoreEncodingErrors)
throws IOException
- Specified by:
openReader in interface javax.tools.FileObject- Overrides:
openReader in class FileObjectImpl
- Throws:
IOException
openWriter
public Writer openWriter()
throws IOException
- Specified by:
openWriter in interface javax.tools.FileObject- Overrides:
openWriter in class FileObjectImpl
- Throws:
IOException
delete
public boolean delete()
- Specified by:
delete in interface javax.tools.FileObject- Overrides:
delete in class FileObjectImpl
toFile
protected File toFile()
- Specified by:
toFile in class FileObjectImpl
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.