org.objectweb.jorm.util.io.api
Interface TargetHolder

All Known Implementing Classes:
JavaFileHolder

public interface TargetHolder

A TargetHolder ...


Method Summary
 java.io.File getFile(java.lang.String filename)
           
 java.io.FileOutputStream getFileOutputStream(java.lang.String fileName)
           
 java.io.FileWriter getFileWriter(java.lang.String fileName)
          This method permits to obtain a FileWriter either the filename specified in parameter.
 java.util.Iterator iterateFile()
          Return an iterator on the file managed by this holder.
 java.util.Iterator iterateFileWriter()
          Return an iterator on the file writer maneged by this holder.
 void javacAll()
          This method compiles all files managed by this holder
 

Method Detail

getFileWriter

public java.io.FileWriter getFileWriter(java.lang.String fileName)
                                 throws java.lang.Exception
This method permits to obtain a FileWriter either the filename specified in parameter.

Throws:
java.lang.Exception

getFileOutputStream

public java.io.FileOutputStream getFileOutputStream(java.lang.String fileName)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

getFile

public java.io.File getFile(java.lang.String filename)

iterateFile

public java.util.Iterator iterateFile()
Return an iterator on the file managed by this holder. Element type of the returned iterator is java.io.File


iterateFileWriter

public java.util.Iterator iterateFileWriter()
Return an iterator on the file writer maneged by this holder. Element type of the returned iterator is java.io.FileWriter


javacAll

public void javacAll()
              throws java.lang.Exception
This method compiles all files managed by this holder

Throws:
java.lang.Exception