org.openrdf.http.object.behaviours
Class FileObjectImpl
java.lang.Object
org.openrdf.http.object.behaviours.FileObjectImpl
- All Implemented Interfaces:
- javax.tools.FileObject, VersionedObject, RDFObject
- Direct Known Subclasses:
- HTTPFileObjectSupport, LocalFileObjectSupport
public abstract class FileObjectImpl
- extends Object
- implements VersionedObject, RDFObject, javax.tools.FileObject
Commons methods used by both http:// and file:// objects.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileObjectImpl
public FileObjectImpl()
toUri
public URI toUri()
- Specified by:
toUri in interface javax.tools.FileObject
getName
public String getName()
- Specified by:
getName in interface javax.tools.FileObject
getLastModified
public long getLastModified()
- Specified by:
getLastModified in interface javax.tools.FileObject
openInputStream
public InputStream openInputStream()
throws IOException
- Specified by:
openInputStream in interface javax.tools.FileObject
- Throws:
IOException
openReader
public Reader openReader(boolean ignoreEncodingErrors)
throws IOException
- Specified by:
openReader in interface javax.tools.FileObject
- Throws:
IOException
getCharContent
public CharSequence getCharContent(boolean ignoreEncodingErrors)
throws IOException
- Specified by:
getCharContent in interface javax.tools.FileObject
- Throws:
IOException
openOutputStream
public OutputStream openOutputStream()
throws IOException
- Specified by:
openOutputStream in interface javax.tools.FileObject
- Throws:
IOException
openWriter
public Writer openWriter()
throws IOException
- Specified by:
openWriter in interface javax.tools.FileObject
- Throws:
IOException
delete
public boolean delete()
- Specified by:
delete in interface javax.tools.FileObject
toFile
protected abstract File toFile()
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.