spec.io
Class FileCache.CachedFile

java.lang.Object
  extended by spec.io.FileCache.CachedFile
Enclosing class:
FileCache

public class FileCache.CachedFile
extends java.lang.Object


Constructor Summary
FileCache.CachedFile(java.lang.String systemId)
           
 
Method Summary
 org.xml.sax.InputSource asNewInputSource()
           
 javax.xml.transform.stream.StreamSource asNewStreamSource()
           
 void cache()
           
 void discard()
           
 java.lang.String getFilename()
           
 java.io.ByteArrayInputStream getStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCache.CachedFile

public FileCache.CachedFile(java.lang.String systemId)
Method Detail

getFilename

public java.lang.String getFilename()

getStream

public java.io.ByteArrayInputStream getStream()
                                       throws java.io.IOException
Throws:
java.io.IOException

cache

public void cache()
           throws java.io.IOException
Throws:
java.io.IOException

discard

public void discard()

asNewInputSource

public org.xml.sax.InputSource asNewInputSource()
                                         throws java.io.IOException
Throws:
java.io.IOException

asNewStreamSource

public javax.xml.transform.stream.StreamSource asNewStreamSource()
                                                          throws java.io.IOException
Throws:
java.io.IOException