Deprecated API
Contents
-
Deprecated ClassesClassDescriptionAs of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, wrap the output from
String.getBytes(String)
into aByteArrayInputStream
.As of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, useByteArrayOutputStream.toString(String)
.use XmlStreamReader
-
Deprecated FieldsFieldDescriptionUse
Commandline.setExecutable(String)
instead.UseOs
class instead.UseOs
class instead.use generic getCause() method
-
Deprecated MethodsMethodDescriptionUse
Commandline.createArg()
insteadUseCommandline.createArg(boolean)
insteadUseCommandLineUtils.quote(String)
instead.UseCommandLineUtils.toString(String[])
instead.UseCommandLineUtils.translateCommandline(String)
instead.instead useDAG.getVertices()
usejava.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
usejava.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
Buffering streams is actively harmful! See the class description as to why. UseIOUtil.copy(InputStream, OutputStream)
instead.use try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteaduse try-with-resources insteadUse the genericgetCause()
methodUseStringUtils.isEmpty(String)
insteadUseStringUtils.isNotEmpty(String)
instead