com.jproxy.proxy.stubgen
Class IndentedFile

java.lang.Object
  |
  +--com.jproxy.proxy.stubgen.IndentedFile

public class IndentedFile
extends java.lang.Object

The IndentedFile Class allows to create an ASCCI file with indented lines.


Constructor Summary
IndentedFile(java.lang.String name)
          Cerates a new IndentedFile with the given name.
 
Method Summary
 void close()
          Close the file
 void delete()
          Close and delete the file
 void indentMinus()
          Decrement the indentation value.
 void indentPlus()
          Increment the indentation value.
 void print(java.lang.String msg)
          Print the given message with or without indentation.
 void println()
          Print the given message with indentation, and then finish the line.
 void println(java.lang.String msg)
          Finish the line.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndentedFile

public IndentedFile(java.lang.String name)
             throws java.io.IOException
Cerates a new IndentedFile with the given name.
Parameters:
name - is the name of the IndentedFile to create
Method Detail

indentPlus

public void indentPlus()
Increment the indentation value.

indentMinus

public void indentMinus()
Decrement the indentation value.

print

public void print(java.lang.String msg)
Print the given message with or without indentation.

println

public void println(java.lang.String msg)
Finish the line.

println

public void println()
Print the given message with indentation, and then finish the line.

close

public void close()
           throws java.io.IOException
Close the file

delete

public void delete()
            throws java.io.IOException
Close and delete the file


Copyright © JProxy LLC. All Rights Reserved.