public class IndexedFile extends Object implements IQueryResult, Comparable<IndexedFile>
Modifier and Type | Field and Description |
---|---|
protected int |
fileNumber |
protected String |
path |
Constructor and Description |
---|
IndexedFile(IDocument document,
int fileNum) |
IndexedFile(String path,
int fileNum) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(IndexedFile other) |
int |
footprint()
Returns the size of the indexedFile.
|
int |
getFileNumber()
Returns the file number.
|
String |
getPath()
Returns the path.
|
void |
setFileNumber(int fileNumber)
Sets the file number.
|
String |
toString() |
protected String path
protected int fileNumber
public IndexedFile(String path, int fileNum)
public IndexedFile(IDocument document, int fileNum)
public int footprint()
public int getFileNumber()
public String getPath()
getPath
in interface IQueryResult
public void setFileNumber(int fileNumber)
public int compareTo(IndexedFile other)
compareTo
in interface Comparable<IndexedFile>
Copyright © 2017 JBoss by Red Hat. All rights reserved.