Deprecated API
Contents
-
Terminally Deprecated Elements
-
Deprecated ClassesClassDescriptionThis simple hard-coded list of MIME types is not maintained well. It is strongly recommended to use a different, well-supported API.Please use
NoCloseInputStream
insteadPlease useNoCloseOutputStream
insteadPlease useTempFileContext
asFile.deleteOnExit()
is prone to memory leaks in long-running applications.Please useTempFileContext
asFile.deleteOnExit()
is prone to memory leaks in long-running applications.Please useBase64
as of Java 8.Use new encoding package instead.
-
Deprecated MethodsMethodDescriptionreplaced by
addLayoutComponent(Component, Object)
.Please useBundleLookupThreadContext.getThreadContext()
directly, since this content is now added and removed based on the current thread settings.This should not be used directly and will become inaccessible in a future major version release, since this content is now added and removed based on the current thread settings.Lookups are no longer reset. Instead, they are now added and removed based on the current thread settings.Please useEditableResourceBundle.printEditableResourceBundleLookups(com.aoapps.lang.io.Encoder, com.aoapps.lang.io.Encoder, java.lang.Appendable, boolean, int, boolean)
directly, providing whether is SGML or XHTML serialization with theisXhtml
flag. This assumes XHTML serialization for backward-compatibility.Please useEditableResourceBundle.resetThreadSettings()
instead.Please specify if is HTML or XHTMLPlease useAOPool.printStatisticsHtml(java.lang.Appendable, boolean)
instead.Please release to the pool by closing the connection, preferably via try-with-resources.Please useTempFileContext
asFile.deleteOnExit()
is prone to memory leaks in long-running applications.Please useMD5.digest()
instead.Please useMD5.init()
instead.Please useMD5.update(byte)
instead.Please useMD5.update(byte[])
instead.Please useMD5.update(byte[], int)
instead.Please useMD5.update(byte[], int, int)
instead.Please useMD5.update(int)
instead.Please useMD5.update(java.lang.String)
instead.the effects of makeBr and makeNbsp should be handled by CSS white-space property.the effects of makeBr and makeNbsp should be handled by CSS white-space property.the effects of makeBr and makeNbsp should be handled by CSS white-space property.the effects of makeBr and makeNbsp should be handled by CSS white-space property.the effects of makeBr and makeNbsp should be handled by CSS white-space property.the effects of makeBr and makeNbsp should be handled by CSS white-space property.the effects of makeBr and makeNbsp should be handled by CSS white-space property.the effects of makeBr and makeNbsp should be handled by CSS white-space property.UseCoercion.toString(java.lang.Object)
instead.Please useShellInterpreter.getPid()
instead.
-
Deprecated ConstructorsConstructorDescriptionlogger is unusedPlease use random paddingPlease use
SecureRandom
. This method will stay, but will remain deprecated since it should only be used after careful consideration.