Show
Ignore:
Timestamp:
2008-07-02 14:13:03 (6 months ago)
Author:
th-schwarz
Message:

javadoc issues

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor.Java/trunk/java-core/src/main/java/net/fckeditor/tool/UtilsFile.java

    r2101 r2146  
    8181 
    8282        /** 
    83          * Checks if the underlying file of the InputStrem is an image. 
     83         * Checks if the underlying file of the InputStream is an image. 
    8484         *  
    8585         * @param in An input stream 
     
    9494 
    9595        /** 
    96      * TODO - document me! 
     96     * Checks, if <code>path</code> is a valid one.  
    9797     *  
    9898     * @param path 
     
    116116 
    117117        /** 
    118      * TODO - document me! 
     118     * Makes sure that <code>filename</code> has only one extension. 
     119     * Other dots will be replaced with '_'. 
    119120     *  
    120121     * @param filename 
    121      * @return string with a single dot only 
     122     * @return String with a single extension only. 
    122123     */ 
    123124    public static String forceSingleExtension(final String filename) { 
     
    126127 
    127128        /** 
    128      * TODO - document me! 
     129     * Checks, if <code>filename</code> has a single extension. 
    129130     *  
    130131     * @param filename 
    131      * @return <code>true</code> if filename contains severals dots else 
    132      *         <code>false</code> 
     132     * @return <code>true</code> if filename has just one dot, else 
     133     *         <code>false</code>. 
    133134     */ 
    134135    public static boolean isSingleExtension(final String filename) { 
     
    137138     
    138139    /** 
    139          * TODO - document me! 
    140          * @param dir 
     140         * Checks if <code>dir</code> exists, if not it will be created. 
     141         *  
     142         * @param dir Directory to check/create. 
    141143         */ 
    142         public static void checkDirAndCreate(File dir) { 
     144        public static void checkDirAndCreate(final File dir) { 
    143145                if (!dir.exists()) { 
    144146                        dir.mkdirs(); 
     
    148150         
    149151        /** 
    150          * TODO - document me! 
     152         * Constructs the server-side path for a special <code>resourceType</code>.  
     153         * Path is inside the <code>UserFilePath</code>. 
     154         *  
    151155         * @param request 
    152156         * @param resourceType 
    153          * @return server-side path 
     157         * @return server-side path of <code>resourceType</code>. 
    154158         */ 
    155         public static String constructServerSidePath(HttpServletRequest request, 
    156                         ResourceTypeHandler resourceType) { 
     159        public static String constructServerSidePath(final HttpServletRequest request, 
     160                        final ResourceTypeHandler resourceType) { 
    157161                StringBuffer sb = new StringBuffer(ConnectorHandler 
    158162                                .getUserFilesPath(request));