| Package | Description |
|---|---|
| org.glassfish.pfl.basic.tools.file |
| Modifier and Type | Method and Description |
|---|---|
void |
FileWrapper.copyTo(FileWrapper target,
byte[] buffer)
Copy this file to target using buffer to hold data.
|
boolean |
Recognizer.evaluate(FileWrapper file)
Apply the action that matches the classification of this file.
|
static Block |
BlockParser.getBlock(FileWrapper fw)
Return the contents of the text file as a 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.
|
void |
Block.write(FileWrapper fw)
Write block to FileWrapper.
|
Copyright © 2018 Oracle. All Rights Reserved.