|
25 | 25 | import java.util.Date; |
26 | 26 |
|
27 | 27 | /** |
28 | | - * This is a temporary implementation. TypeHandler will handle the |
29 | | - * pluggableness of OptionTypes and it will direct all of these types |
30 | | - * of conversion functionalities to ConvertUtils component in Commons |
31 | | - * already. BeanUtils I think. |
32 | | - * |
33 | | - * @version $Revision$, $Date$ |
34 | | - */ |
| 28 | + * This is a temporary implementation. TypeHandler will handle the |
| 29 | + * pluggableness of OptionTypes and it will direct all of these types |
| 30 | + * of conversion functionalities to ConvertUtils component in Commons |
| 31 | + * already. BeanUtils I think. |
| 32 | + * |
| 33 | + * @version $Revision$, $Date$ |
| 34 | + */ |
35 | 35 | public class TypeHandler |
36 | 36 | { |
37 | 37 | /** |
@@ -178,10 +178,14 @@ public static Class createClass(String classname) throws ParseException |
178 | 178 |
|
179 | 179 | /** |
180 | 180 | * Returns the date represented by <code>str</code>. |
| 181 | + * <p> |
| 182 | + * This method is not yet implemented and always throws an |
| 183 | + * {@link UnsupportedOperationException}. |
181 | 184 | * |
182 | 185 | * @param str the date string |
183 | 186 | * @return The date if <code>str</code> is a valid date string, |
184 | 187 | * otherwise return null. |
| 188 | + * @throws UnsupportedOperationException always |
185 | 189 | */ |
186 | 190 | public static Date createDate(String str) throws ParseException |
187 | 191 | { |
@@ -220,9 +224,13 @@ public static File createFile(String str) throws ParseException |
220 | 224 |
|
221 | 225 | /** |
222 | 226 | * Returns the File[] represented by <code>str</code>. |
| 227 | + * <p> |
| 228 | + * This method is not yet implemented and always throws an |
| 229 | + * {@link UnsupportedOperationException}. |
223 | 230 | * |
224 | 231 | * @param str the paths to the files |
225 | 232 | * @return The File[] represented by <code>str</code>. |
| 233 | + * @throws UnsupportedOperationException always |
226 | 234 | */ |
227 | 235 | public static File[] createFiles(String str) throws ParseException |
228 | 236 | { |
|
0 commit comments