public class BlockParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMENT_BLOCK_TAG |
| Modifier and Type | Method and Description |
|---|---|
static Block |
getBlock(FileWrapper fw)
Return the contents of the text file as a Block.
|
static List<Block> |
parseBlocks(FileWrapper fw,
String prefix)
Transform fw into a list of blocks.
|
static List<Block> |
parseBlocks(FileWrapper fw,
String start,
String end)
Transform fw into a list of blocks.
|
public static final String COMMENT_BLOCK_TAG
public static Block getBlock(FileWrapper fw) throws IOException
IOExceptionpublic static List<Block> parseBlocks(FileWrapper fw, String prefix) throws IOException
IOExceptionpublic static List<Block> parseBlocks(FileWrapper fw, String start, String end) throws IOException
IOExceptionCopyright © 2011–2024 Eclipse Foundation. All rights reserved.