public class GlobalPropNode extends Node
| Modifier and Type | Field and Description |
|---|---|
static String |
GLOBAL_PROPERTIES_FILE_NAME |
childs, file, globalContext, isPageFile| Constructor and Description |
|---|
GlobalPropNode(SiteGenerator globalContext,
File dir) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkForUpdates(ContextProperties parentContext) |
void |
generateOrUpdateDiskFile(ContextProperties context)
Update the the information asociated to this node.
|
String |
getContent(ContextProperties parentContext) |
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.
|
addChild, clearChildList, createChildList, getChildList, getChildListSize, getContext, getLastUpdated, getRelativePath, isPage, toString, updateContentpublic static final String GLOBAL_PROPERTIES_FILE_NAME
public GlobalPropNode(SiteGenerator globalContext, File dir) throws FileNotFoundException
FileNotFoundExceptionpublic long getLastModified()
NodegetLastModified in class Nodepublic String getContent(ContextProperties parentContext) throws FileNotFoundException
getContent in class NodeFileNotFoundExceptionpublic String getFileName()
getFileName in class Nodepublic String getRelativePath()
getRelativePath in class Nodeprotected String getStringToParse()
getStringToParse in class Nodelist - public void generateOrUpdateDiskFile(ContextProperties context) throws IOException
NodegenerateOrUpdateDiskFile in class NodeFileNotFoundExceptionIOExceptionpublic void checkForUpdates(ContextProperties parentContext)
Copyright © 2014 ginere solutions. All Rights Reserved.