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

All Known Implementing Classes:
JavaFileHolder

public interface TargetHolder

A TargetHolder ...


Method Summary
 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.

java.lang.Exception

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

java.lang.Exception