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