org.apache.ws.jaxme.js.impl
Class TextFileImpl
- IndentationEngine, TextFile
public class TextFileImpl
String | getContents() - Returns the text files contents, as a string.
|
String | getFileName() - Returns the text files file name, without any path component.
|
String | getPackageName() - Returns the text files package name.
|
void | setContents(String pContents) - Sets the text files contents, as a string.
|
addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , addLine , asString , checkNulls , clear , getLevel , getLines , getLines , getPlaceHolder , indent , isEmpty , moveToBottom , moveToTop , newPlaceHolder , removePlaceHolder , setLevel , unindent , write , write |
TextFileImpl
public TextFileImpl(String pPackageName,
String pFileName)
getContents
public String getContents()
Returns the text files contents, as a string.
- getContents in interface TextFile
getFileName
public String getFileName()
Returns the text files file name, without any path component.
- getFileName in interface TextFile
getPackageName
public String getPackageName()
Returns the text files package name. This package name isn't necessarily
a valid Java package name, for example it may be "META-INF".
- getPackageName in interface TextFile
setContents
public void setContents(String pContents)
Sets the text files contents, as a string.
- setContents in interface TextFile