|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.pfl.basic.tools.file.BlockParser
public class BlockParser
Utility class used to convert FileWrappers into (lists of) Blocks.
| Field Summary | |
|---|---|
static String |
COMMENT_BLOCK_TAG
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COMMENT_BLOCK_TAG
| Method Detail |
|---|
public static Block getBlock(FileWrapper fw)
throws IOException
IOException
public static List<Block> parseBlocks(FileWrapper fw,
String prefix)
throws IOException
IOException
public static List<Block> parseBlocks(FileWrapper fw,
String start,
String end)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||