anvil.parser
Interface InputSource
- All Known Subinterfaces:
- Resource
- All Known Implementing Classes:
- DirContainer.DirResource, DirContainer.FileResource, FileInputSource, JarContainer.JarResource, StreamInputSource, URLContainer.URLResource, URLInputSource
- public interface InputSource
interface InputSource
getURL
public java.net.URL getURL()
getLastModified
public long getLastModified()
getLength
public int getLength()
getCharacterEncoding
public java.nio.charset.Charset getCharacterEncoding()
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOException
load
public java.nio.ByteBuffer load()
throws java.io.IOException
java.io.IOException
close
public void close()
throws java.io.IOException
java.io.IOException