|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ten60.netkernel.util.Utils
General utility methods
Constructor Summary | |
Utils()
|
Method Summary | |
static void |
appendUnreservedURIChar(StringBuffer sb,
String aURI)
|
static Object |
constructFromXML(XMLReadable aConfig)
|
static String |
decode(String aInput)
|
static String |
fixSlash(String aURI)
ensure windows style slashes become URI style slashes |
static URL |
getResource(String aPath,
String aBasePath,
ClassLoader aClassLoader)
ffcpl light |
static void |
pipe(InputStream aInput,
OutputStream aOutput)
copy an input stream to an outputsteam and close streams when finished |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Utils()
Method Detail |
public static URL getResource(String aPath, String aBasePath, ClassLoader aClassLoader)
public static void pipe(InputStream aInput, OutputStream aOutput) throws IOException
IOException
- if there are any problemspublic static String fixSlash(String aURI)
public static void appendUnreservedURIChar(StringBuffer sb, String aURI)
public static String decode(String aInput)
public static Object constructFromXML(XMLReadable aConfig) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException
ClassNotFoundException
NoSuchMethodException
InstantiationException
IllegalAccessException
InvocationTargetException
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |