com.stratelia.webactiv.util.fileFolder
Class FileFolderManager

java.lang.Object
  extended by com.stratelia.webactiv.util.fileFolder.FileFolderManager

public class FileFolderManager
extends Object


Method Summary
static void createFile(String cheminFichier, String nomFichier, String contenuFichier)
          createFile : creation d'un fichier Param = cheminFichier = c:\\j2sdk\\public_html\\WAUploads\\WA0webSite10\\nomSite\\rep1\\rep2 nomFichier = index.html contenuFichier = code du fichier : "...."</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#createFolder(java.io.File)">createFolder</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> directory)</CODE> <BR>            </TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#createFolder(java.lang.String)">createFolder</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin)</CODE> <BR>           creation d'un repertoire</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#deleteFile(java.lang.String)">deleteFile</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin)</CODE> <BR>           Deletes a file.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#deleteFolder(java.lang.String)">deleteFolder</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin)</CODE> <BR>           Deletes the specified directory recursively and quietly.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#deleteFolder(java.lang.String, boolean)">deleteFolder</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin, boolean throwException)</CODE> <BR>           Deletes the specified directory recursively.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#getAllFile(java.lang.String)">getAllFile</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin)</CODE> <BR>           Returns all the files (and only the files, no directory) inside the given directory.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#getAllImages(java.lang.String)">getAllImages</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin)</CODE> <BR>           Returns all the image files (and only the files, no directory) inside the given directory.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#getAllSubFolder(java.lang.String)">getAllSubFolder</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin)</CODE> <BR>           retourne une Collection d'objets File qui representent les repertoires (et seulement les repertoires, pas les fichiers) contenus dans le repertoire passe en parametre</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#getAllWebPages(java.lang.String)">getAllWebPages</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin)</CODE> <BR>           Retourne une Collection d'objets File qui representent les fichiers du site web contenus dans le repertoire passe en parametre et ses sous repertoires</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#getAllWebPages2(java.lang.String)">getAllWebPages2</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin)</CODE> <BR>           getAllWebPages2 : retourne une Collection d'objets File qui representent les fichiers web (type HTML) contenus dans le repertoire passe en parametre et seulement dans ce repertoire Param = chemin du repertoire du site</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#getCode(java.lang.String, java.lang.String)">getCode</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cheminFichier, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> nomFichier)</CODE> <BR>           getCode : Récupération du contenu d'un fichier Param = cheminFichier = c:\\j2sdk\\public_html\\WAUploads\\WA0webSite10\\nomSite\\rep1\\rep2 nomFichier = index.html</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#renameFile(java.lang.String, java.lang.String, java.lang.String)">renameFile</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cheminRep, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> newName)</CODE> <BR>           renameFile : modification du nom d'un fichier Param = chemin du fichier</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../../com/stratelia/webactiv/util/fileFolder/FileFolderManager.html#renameFolder(java.lang.String, java.lang.String)">renameFolder</A></B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cheminRep, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> newCheminRep)</CODE> <BR>           renameFolder : modification du nom d'un repertoire Param = chemin du repertoire</TD> </TR> </TABLE>  <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE>   <P> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="getAllSubFolder(java.lang.String)"><!-- --></A><H3> getAllSubFolder</H3> <PRE> public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>> <B>getAllSubFolder</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>retourne une Collection d'objets File qui representent les repertoires (et seulement les repertoires, pas les fichiers) contenus dans le repertoire passe en parametre <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>chemin</CODE> - le chemin du repertoire <DT><B>Returns:</B><DD>une Collection d'objets File qui representent les repertoires (et seulement les repertoires, pas les fichiers) contenus dans le repertoire passe en parametre <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getAllFile(java.lang.String)"><!-- --></A><H3> getAllFile</H3> <PRE> public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>> <B>getAllFile</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>Returns all the files (and only the files, no directory) inside the given directory. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>chemin</CODE> - <DT><B>Returns:</B><DD> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getAllImages(java.lang.String)"><!-- --></A><H3> getAllImages</H3> <PRE> public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>> <B>getAllImages</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>Returns all the image files (and only the files, no directory) inside the given directory. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>chemin</CODE> - <DT><B>Returns:</B><DD> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getAllWebPages(java.lang.String)"><!-- --></A><H3> getAllWebPages</H3> <PRE> public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>> <B>getAllWebPages</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>Retourne une Collection d'objets File qui representent les fichiers du site web contenus dans le repertoire passe en parametre et ses sous repertoires <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>chemin</CODE> - le chemin du repertoire du site <DT><B>Returns:</B><DD>une Collection d'objets File qui representent les fichiers du site web contenus dans le repertoire passe en parametre et ses sous repertoires <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getAllWebPages2(java.lang.String)"><!-- --></A><H3> getAllWebPages2</H3> <PRE> public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>> <B>getAllWebPages2</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin) throws <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> <DL> <DD>getAllWebPages2 : retourne une Collection d'objets File qui representent les fichiers web (type HTML) contenus dans le repertoire passe en parametre et seulement dans ce repertoire Param = chemin du repertoire du site <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> </DD> </DL> <HR> <A NAME="createFolder(java.lang.String)"><!-- --></A><H3> createFolder</H3> <PRE> public static void <B>createFolder</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>creation d'un repertoire <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>chemin</CODE> - le chemin du repertoire <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="createFolder(java.io.File)"><!-- --></A><H3> createFolder</H3> <PRE> public static void <B>createFolder</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> directory) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="renameFolder(java.lang.String, java.lang.String)"><!-- --></A><H3> renameFolder</H3> <PRE> public static void <B>renameFolder</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cheminRep, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> newCheminRep) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>renameFolder : modification du nom d'un repertoire Param = chemin du repertoire <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="deleteFolder(java.lang.String)"><!-- --></A><H3> deleteFolder</H3> <PRE> public static void <B>deleteFolder</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin)</PRE> <DL> <DD>Deletes the specified directory recursively and quietly. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>chemin</CODE> - the specified directory</DL> </DD> </DL> <HR> <A NAME="deleteFolder(java.lang.String, boolean)"><!-- --></A><H3> deleteFolder</H3> <PRE> public static void <B>deleteFolder</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin, boolean throwException) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>Deletes the specified directory recursively. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>chemin</CODE> - the specified directory<DD><CODE>throwException</CODE> - set to false if you want to delete quietly - false otherwise. <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="createFile(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> createFile</H3> <PRE> public static void <B>createFile</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cheminFichier, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> nomFichier, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> contenuFichier) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>createFile : creation d'un fichier Param = cheminFichier = c:\\j2sdk\\public_html\\WAUploads\\WA0webSite10\\nomSite\\rep1\\rep2 nomFichier = index.html contenuFichier = code du fichier : "<HTML><TITLE>...." <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="renameFile(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> renameFile</H3> <PRE> public static void <B>renameFile</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cheminRep, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> newName) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>renameFile : modification du nom d'un fichier Param = chemin du fichier <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="deleteFile(java.lang.String)"><!-- --></A><H3> deleteFile</H3> <PRE> public static void <B>deleteFile</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> chemin) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>Deletes a file. <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <HR> <A NAME="getCode(java.lang.String, java.lang.String)"><!-- --></A><H3> getCode</H3> <PRE> public static <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getCode</B>(<A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> cheminFichier, <A HREF="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> nomFichier) throws <A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></PRE> <DL> <DD>getCode : Récupération du contenu d'un fichier Param = cheminFichier = c:\\j2sdk\\public_html\\WAUploads\\WA0webSite10\\nomSite\\rep1\\rep2 nomFichier = index.html <P> <DD><DL> <DT><B>Throws:</B> <DD><CODE><A HREF="../../../../../com/stratelia/webactiv/util/exception/UtilException.html" title="class in com.stratelia.webactiv.util.exception">UtilException</A></CODE></DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FileFolderManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  PREV CLASS   NEXT CLASS</FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html?com/stratelia/webactiv/util/fileFolder/FileFolderManager.html" target="_top"><B>FRAMES</B></A>    <A HREF="FileFolderManager.html" target="_top"><B>NO FRAMES</B></A>    <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright © 2016 <a href="http://www.silverpeas.org">Silverpeas</a>. All Rights Reserved. </BODY> </HTML>