|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tomcat.util.compat.JdkCompat
org.apache.tomcat.util.compat.Jdk14Compat
public class Jdk14Compat
See JdkCompat. This is an extension of that class for Jdk1.4 support.
| Field Summary |
|---|
| Fields inherited from class org.apache.tomcat.util.compat.JdkCompat |
|---|
JAVA_1_0, JAVA_1_1, JAVA_1_2, JAVA_1_3, JAVA_1_4 |
| Constructor Summary | |
|---|---|
protected |
Jdk14Compat()
Default no-arg constructor |
| Method Summary | |
|---|---|
long |
getMaxMemory()
Return the maximum amount of memory the JVM will attempt to use. |
String |
getPartialServletStackTrace(Throwable t)
Print out a partial servlet stack trace (truncating at the last occurrence of javax.servlet.). |
URL |
getURI(File file)
Return the URI for the given file. |
String[] |
split(String path,
String pat)
Splits a string into it's components. |
| Methods inherited from class org.apache.tomcat.util.compat.JdkCompat |
|---|
getJavaVersion, getJdkCompat, isJava14, isJava2 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Jdk14Compat()
| Method Detail |
|---|
public URL getURI(File file)
throws MalformedURLException
getURI in class JdkCompatFile - to wrap into URI
MalformedURLExceptionpublic long getMaxMemory()
getMaxMemory in class JdkCompatpublic String getPartialServletStackTrace(Throwable t)
getPartialServletStackTrace in class JdkCompat
public String[] split(String path,
String pat)
JdkCompat
split in class JdkCompatpath - String to splitpat - Pattern to split at
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||