org.millscript.millscript.functions
Class Page

java.lang.Object
  extended by org.millscript.millscript.functions.Page
All Implemented Interfaces:
java.io.Serializable

public class Page
extends java.lang.Object
implements java.io.Serializable

This class represents a script built page in the output folder. There should only be one Page for a given output file.

See Also:
Serialized Form

Method Summary
 void createDirectoryFor()
          Creates a directory in the output folder for this page.
 org.millscript.commons.vfs.VFile getFile()
          Returns the VFile for this page.
 java.lang.String getStem()
          Returns the path string for this page, relative to the output folder.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

createDirectoryFor

public void createDirectoryFor()
Creates a directory in the output folder for this page.


getFile

public org.millscript.commons.vfs.VFile getFile()
Returns the VFile for this page.

Returns:
the VFile for this page

getStem

public java.lang.String getStem()
Returns the path string for this page, relative to the output folder.

Returns:
a path string relative to the output folder

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.