public class SmooshedFileMapper extends Object implements Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
Set<String> |
getInternalFilenames() |
static SmooshedFileMapper |
load(File baseDir) |
ByteBuffer |
mapFile(String name)
Returns a mapped buffer of the smooshed file with the given name.
|
public static SmooshedFileMapper load(File baseDir) throws IOException
IOException
public ByteBuffer mapFile(String name) throws IOException
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2011–2018. All rights reserved.