| java.lang.Object com.lowagie.text.Utilities
Utilities | public class Utilities (Code) | | A collection of convenience methods that were present in many different iText
classes.
|
addToArray | public static Object[][] addToArray(Object original, Object item)(Code) | | Utility method to extend an array.
Parameters: original - the original array or null Parameters: item - the item to be added to the array a new array with the item appended |
checkTrueOrFalse | public static boolean checkTrueOrFalse(Properties attributes, String key)(Code) | | Checks for a true/false value of a key in a Properties object.
Parameters: attributes - Parameters: key - a true/false value of a key in a Properties object |
getKeySet | public static Set getKeySet(Hashtable table)(Code) | | Gets the keys of a Hashtable
Parameters: table - a Hashtable the keyset of a Hashtable (or an empty set if table is null) |
skip | public static void skip(InputStream is, int size) throws IOException(Code) | | This method is an alternative for the InputStream.skip()
-method that doesn't seem to work properly for big values of size
.
Parameters: is - the InputStream Parameters: size - the number of bytes to skip throws: IOException - |
toURL | public static URL toURL(String filename) throws MalformedURLException(Code) | | This method makes a valid URL from a given filename.
This method makes the conversion of this library from the JAVA 2 platform
to a JDK1.1.x-version easier.
Parameters: filename - a given filename a valid URL throws: MalformedURLException - |
unEscapeURL | public static String unEscapeURL(String src)(Code) | | Unescapes an URL. All the "%xx" are replaced by the 'xx' hex char value.
Parameters: src - the url to unescape the eunescaped value |
|
|