rendsite.engine.node
Class Node_MetaFile

java.lang.Object
  extended by rendsite.engine.node.Node
      extended by rendsite.engine.node.Node_MetaFile

public class Node_MetaFile
extends Node

Crawler node for a File.

Author:
erich Version History
 10NOV09 - EPG - First package release.
 

Field Summary
 java.io.File file
          File.
 
Constructor Summary
Node_MetaFile(java.io.File file)
          Create a node.
 
Method Summary
 java.lang.String getName()
          Get name.
 java.lang.String getPath()
          Get path.
 
Methods inherited from class rendsite.engine.node.Node
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

public java.io.File file
File.

Constructor Detail

Node_MetaFile

public Node_MetaFile(java.io.File file)
              throws java.lang.Throwable
Create a node.

Parameters:
file - the file.
Throws:
java.lang.Throwable
Method Detail

getPath

public java.lang.String getPath()
Get path.

Returns:
the path or an empty string if the file is not set.

getName

public java.lang.String getName()
Get name.

Overrides:
getName in class Node
Returns:
the name or an empty string if the file is not set.


rendsite.