com.ochafik.lang.compiler
Class URLFileObject
java.lang.Object
com.ochafik.lang.compiler.URLFileObject
- All Implemented Interfaces:
- FileObject
public class URLFileObject
- extends Object
- implements FileObject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLFileObject
public URLFileObject(URL url)
getPath
public String getPath()
delete
public boolean delete()
- Specified by:
delete
in interface FileObject
getCharContent
public CharSequence getCharContent(boolean ignoreEncodingErrors)
throws IOException
- Specified by:
getCharContent
in interface FileObject
- Throws:
IOException
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interface FileObject
getName
public String getName()
- Specified by:
getName
in interface FileObject
openInputStream
public InputStream openInputStream()
throws IOException
- Specified by:
openInputStream
in interface FileObject
- Throws:
IOException
openOutputStream
public OutputStream openOutputStream()
throws IOException
- Specified by:
openOutputStream
in interface FileObject
- Throws:
IOException
openReader
public Reader openReader(boolean arg0)
throws IOException
- Specified by:
openReader
in interface FileObject
- Throws:
IOException
openWriter
public Writer openWriter()
throws IOException
- Specified by:
openWriter
in interface FileObject
- Throws:
IOException
toUri
public URI toUri()
- Specified by:
toUri
in interface FileObject
Copyright © 2009. All Rights Reserved.