|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Block | |
|---|---|
| org.glassfish.pfl.basic.tools.file | |
| Uses of Block in org.glassfish.pfl.basic.tools.file |
|---|
| Methods in org.glassfish.pfl.basic.tools.file that return Block | |
|---|---|
Block |
Block.expandTabs()
Replace tabs with spaces, assuming tab stops are located as usual at n*8 + 1 |
static Block |
BlockParser.getBlock(FileWrapper fw)
Return the contents of the text file as a Block. |
Block |
Block.instantiateTemplate(Map<String,String> parameters)
replace all occurrences of @KEY@ with parameters.get( KEY ). |
Block |
Block.substitute(List<? extends org.glassfish.pfl.basic.contain.Pair<String,String>> substitutions)
|
| Methods in org.glassfish.pfl.basic.tools.file that return types with arguments of type Block | |
|---|---|
static List<Block> |
BlockParser.parseBlocks(FileWrapper fw,
String prefix)
Transform fw into a list of blocks. |
static List<Block> |
BlockParser.parseBlocks(FileWrapper fw,
String start,
String end)
Transform fw into a list of blocks. |
org.glassfish.pfl.basic.contain.Pair<Block,Block> |
Block.splitFirst()
Split block into two blocks, with only the first line of the original Block in result.first(). |
org.glassfish.pfl.basic.contain.Pair<Block,Block> |
Block.splitFirst()
Split block into two blocks, with only the first line of the original Block in result.first(). |
| Constructors in org.glassfish.pfl.basic.tools.file with parameters of type Block | |
|---|---|
Block(Block block)
Create a new Block which is a copy of block. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||