public class PropNode extends Node
| Modifier and Type | Field and Description |
|---|---|
static String |
TEMPLATE_PROPERTY |
childs, file, globalContext, isPageFile| Constructor and Description |
|---|
PropNode(SiteGenerator globalContext,
File file,
boolean isPageFile) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName() |
long |
getLastModified()
The last time of the file disk information need to generate pages has been modified.
|
String |
getRelativePath()
IF the file is ..
|
protected String |
getStringToParse()
Use this method to get the string to parse of this node.
|
static boolean |
isAPropertiesFile(File file) |
addChild, clearChildList, createChildList, generateOrUpdateDiskFile, getChildList, getChildListSize, getContent, getContext, getLastUpdated, getRelativePath, isPage, toString, updateContentpublic static final String TEMPLATE_PROPERTY
public PropNode(SiteGenerator globalContext, File file, boolean isPageFile) throws FileNotFoundException
FileNotFoundExceptionpublic long getLastModified()
NodegetLastModified in class Nodepublic String getFileName()
getFileName in class Nodepublic String getRelativePath() throws FileNotFoundException
getRelativePath in class NodeFileNotFoundExceptionprotected String getStringToParse()
getStringToParse in class Nodelist - public static boolean isAPropertiesFile(File file)
Copyright © 2014 ginere solutions. All Rights Reserved.