|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ten60.netkernel.layer1.util.Utils
General utility methods
Constructor Summary | |
Utils()
|
Method Summary | |
static String |
fixSlash(String uri)
Returns a string with the \ replaced by / |
static String |
getExpireDescription(IURMeta meta)
|
static int |
getJREMajorVersion()
|
static int |
getJREMinorMinorVersion()
|
static int |
getJREMinorVersion()
|
static String |
getTimeStampString(Date aDate)
Returns a standard format Timestamp String representing the gi8ven date. |
static void |
pipe(InputStream aInput,
OutputStream aOutput)
copy an input stream to an outputsteam and close streams when finished |
static InputStream |
pipeInputStreamFrom(IAspectBinaryStream aStream)
return an InputStream from an IAspectBinaryStream using a pipe |
static void |
writeMeta(StringBuffer aResult,
IURMeta aMeta)
|
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 String getTimeStampString(Date aDate)
aDate
- The date to create the timestamp string for.
public static String fixSlash(String uri)
public static int getJREMajorVersion()
public static int getJREMinorVersion()
public static int getJREMinorMinorVersion()
public static void pipe(InputStream aInput, OutputStream aOutput) throws IOException
IOException
- if there are any problemspublic static InputStream pipeInputStreamFrom(IAspectBinaryStream aStream) throws IOException
IOException
public static void writeMeta(StringBuffer aResult, IURMeta aMeta)
public static String getExpireDescription(IURMeta meta)
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |