public class FileListBlock extends Block
Modifier and Type | Field and Description |
---|---|
protected int |
offset |
protected String[] |
paths |
protected String |
prevPath |
Constructor and Description |
---|
FileListBlock(int blockSize) |
Modifier and Type | Method and Description |
---|---|
boolean |
addFile(IndexedFile indexedFile)
add the name of the indexedfile to the buffr of the field.
|
IndexedFile |
getFile(int fileNum) |
protected String[] |
getPaths()
Creates a vector of paths reading the buffer of the field.
|
boolean |
isEmpty() |
void |
reset() |
protected int offset
protected String prevPath
protected String[] paths
public boolean addFile(IndexedFile indexedFile)
public IndexedFile getFile(int fileNum) throws IOException
IOException
protected String[] getPaths() throws IOException
IOException
public boolean isEmpty()
public void reset()
Copyright © 2019. All rights reserved.