com.purpletech.io
Interface CachedFS.Loader
- All Known Implementing Classes:
- CachedFS.BinaryLoader, CachedFS.TextLoader
- Enclosing interface:
- CachedFS
- public static interface CachedFS.Loader
Callback that processes a file, turning it into an object, as
it's loaded.
|
Method Summary |
java.lang.Object |
process(java.lang.String path,
java.io.InputStream in)
Process a file as it's loaded (or reloaded). |
process
public java.lang.Object process(java.lang.String path,
java.io.InputStream in)
throws java.io.IOException
- Process a file as it's loaded (or reloaded). No need to
close the stream; the library does that.
- Parameters:
path - the path name, relative to the root directoryin - an unbuffered input stream containing the file data
java.io.IOException