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


Method Summary
 void close()
           
 java.nio.charset.Charset getCharacterEncoding()
           
 java.io.InputStream getInputStream()
           
 long getLastModified()
           
 int getLength()
           
 java.net.URL getURL()
           
 java.nio.ByteBuffer load()
           
 

Method Detail

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