public class FileIndexLocation extends IndexLocation
participantIndex| Constructor and Description |
|---|
FileIndexLocation(java.io.File file) |
FileIndexLocation(java.io.File file,
boolean participantIndex) |
FileIndexLocation(java.net.URL url,
java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createNewFile()
Creates a new file for the given index location
|
boolean |
delete() |
boolean |
equals(java.lang.Object other) |
boolean |
exists() |
java.lang.String |
fileName() |
java.lang.String |
getCanonicalFilePath() |
java.io.File |
getIndexFile() |
int |
hashCode() |
long |
lastModified() |
long |
length() |
boolean |
startsWith(IPath path) |
close, createIndexLocation, getUrl, isParticipantIndex, toStringpublic FileIndexLocation(java.io.File file)
public FileIndexLocation(java.net.URL url,
java.io.File file)
public FileIndexLocation(java.io.File file,
boolean participantIndex)
public boolean createNewFile()
throws java.io.IOException
IndexLocationcreateNewFile in class IndexLocationjava.io.IOExceptionpublic boolean delete()
delete in class IndexLocationpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic boolean exists()
exists in class IndexLocationpublic java.lang.String fileName()
fileName in class IndexLocationpublic java.io.File getIndexFile()
getIndexFile in class IndexLocationpublic java.lang.String getCanonicalFilePath()
getCanonicalFilePath in class IndexLocationpublic int hashCode()
hashCode in class IndexLocationpublic long lastModified()
lastModified in class IndexLocationpublic long length()
length in class IndexLocationpublic boolean startsWith(IPath path)
startsWith in class IndexLocation