|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.nutch.util.NutchFile
A class that names a file in the "NutchFileSpace". You can convert a NutchFile to a real file with the help of an instance of NutchFileSystem.
Constructor Summary | |
NutchFile(NutchFile dir,
String name)
Create a NutchFile from a previous one that is a directory. |
|
NutchFile(NutchFileSystem nfs,
String dbName,
String shareGroupName,
File name)
A NutchFile contains: dbName, which labels the cooperating NutchFileSystem it belongs to. |
Method Summary | |
String |
getCompleteFlagName()
Get the almost-fully-qualified name for this NutchFile's 'completed' flag file. |
String |
getDBName()
DB Name the NutchFile lives in. |
String |
getFilename()
Get the almost-fully-qualified name for this NutchFile. |
NutchFileSystem |
getFS()
Grab a handle to the NutchFileSystem |
File |
getName()
Terminating filename for the NutchFile. |
String |
getShareGroupName()
Get the name of the sharegroup this file belongs to. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NutchFile(NutchFileSystem nfs, String dbName, String shareGroupName, File name)
public NutchFile(NutchFile dir, String name)
Method Detail |
public String getDBName()
public String getShareGroupName()
public File getName()
public NutchFileSystem getFS()
public String getFilename()
public String getCompleteFlagName()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |