public class FrameUtils
extends java.lang.Object
| Constructor and Description |
|---|
FrameUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ChunkSummary |
chunkSummary(Frame fr)
Compute a chunk summary (how many chunks of each type, relative size, total size)
|
static Frame |
parseFrame(Key okey,
java.io.File file)
Parse given file into the form of frame represented by the given key.
|
static Frame |
parseFrame(Key okey,
java.net.URI uri) |
public static Frame parseFrame(Key okey, java.io.File file) throws java.io.IOException
okey - destination key for parsed framefile - file to parsejava.io.IOExceptionpublic static Frame parseFrame(Key okey, java.net.URI uri) throws java.io.IOException
java.io.IOExceptionpublic static ChunkSummary chunkSummary(Frame fr)
fr -