Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.ws.jaxme.js
Interface TextFile  view TextFile download TextFile.java

All Superinterfaces:
IndentationEngine

public interface TextFile
extends IndentationEngine

Interface of a text file.


Field Summary
 
Fields inherited from interface org.apache.ws.jaxme.js.IndentationEngine
NOTHING
 
Method Summary
 java.lang.String getContents()
          Returns the text files contents, as a string.
 java.lang.String getFileName()
          Returns the text files file name, without any path component.
 java.lang.String getPackageName()
          Returns the text files package name.
 void setContents(java.lang.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 Detail

getPackageName

public java.lang.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".


getFileName

public java.lang.String getFileName()

Returns the text files file name, without any path component.


getContents

public java.lang.String getContents()

Returns the text files contents, as a string.


setContents

public void setContents(java.lang.String pContents)

Sets the text files contents, as a string.