public class BlockFactory extends Object
| Constructor and Description |
|---|
BlockFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Block[] |
getBlocksFromByteArray(byte[] bbuf,
int type)
transform the byte array into Block records.
|
static Block[] |
getBlocksFromOutputStream(OutputStream bbuf,
int blen,
int type)
transform the byte array into Block records.
|
static Block |
getPrototypeBlock(int type)
get a new, empty Block
|
public static final Block getPrototypeBlock(int type)
public static final Block[] getBlocksFromOutputStream(OutputStream bbuf, int blen, int type)
public static final Block[] getBlocksFromByteArray(byte[] bbuf, int type)
Copyright © 2002–2019 Starter Inc.. All rights reserved.