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