org.apache.ws.jaxme.js

Interface TextFile

All Superinterfaces:
IndentationEngine
Known Implementing Classes:
TextFileImpl

public interface TextFile
extends IndentationEngine

Interface of a text file.
Author:
Jochen Wiedmann

Fields inherited from interface org.apache.ws.jaxme.js.IndentationEngine

NOTHING

Method Summary

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.

Methods inherited from interface org.apache.ws.jaxme.js.IndentationEngine

addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, addLine, clear, getLevel, getPlaceHolder, indent, moveToBottom, moveToTop, newPlaceHolder, setLevel, unindent, write, write

Method Details

getContents

public String getContents()
Returns the text files contents, as a string.

getFileName

public String getFileName()
Returns the text files file name, without any path component.

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".

setContents

public void setContents(String pContents)
Sets the text files contents, as a string.