Index

A B C D E F G H I J L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

a(char[]) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append content to the message buffer.
a(char[], int, int) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append content to the message buffer.
a(CharSequence) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append content to the message buffer.
a(CharSequence, int, int) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append content to the message buffer.
a(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append content to the message buffer.
abbreviate(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Turn "Now is the time for all good men" into "Now is the time for..."
abbreviate(String, int, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Turn "Now is the time for all good men" into "...is the time for..."
ABORT - Enum constant in enum org.apache.maven.shared.utils.io.ScanConductor.ScanAction
Deprecated.
Abort the whole scanning process.
ABORT_DIRECTORY - Enum constant in enum org.apache.maven.shared.utils.io.ScanConductor.ScanAction
Deprecated.
Abort processing the current directory.
AbstractJavaTool<Request extends JavaToolRequest> - Class in org.apache.maven.shared.utils.cli.javatool
Abstract implementation of a JavaTool.
AbstractJavaTool(String) - Constructor for class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
 
AbstractJavaToolRequest - Class in org.apache.maven.shared.utils.cli.javatool
Abstract implementation of a JavaToolRequest.
AbstractJavaToolRequest() - Constructor for class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
 
addAndDeHump(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Take the input string and un-camel-case it.
addArguments(String...) - Method in class org.apache.maven.shared.utils.cli.Commandline
 
addAttribute(String, String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
Add a XML attribute to the current XML Element.
addAttribute(String, String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
Add a XML attribute to the current XML Element.
addChild(Xpp3Dom) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
addDefaultExcludes() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Adds default exclusions to the current exclusions set.
addEnvironment(String, String) - Method in class org.apache.maven.shared.utils.cli.Commandline
Add an environment variable.
addShutDownHook(Thread) - Static method in class org.apache.maven.shared.utils.cli.ShutdownHookUtils
 
addSystemEnvironment() - Method in class org.apache.maven.shared.utils.cli.Commandline
ANT_HANDLER_PREFIX - Static variable in class org.apache.maven.shared.utils.io.SelectorUtils
Deprecated.
ANT pattern prefix.
Arg - Interface in org.apache.maven.shared.utils.cli
 
Argument() - Constructor for class org.apache.maven.shared.utils.cli.Commandline.Argument
 

B

BourneShell - Class in org.apache.maven.shared.utils.cli.shell
 
BourneShell() - Constructor for class org.apache.maven.shared.utils.cli.shell.BourneShell
Create instance of BourneShell.
buffer() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
Create a default message buffer.
buffer(int) - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
Create a message buffer with an internal buffer of defined size.
buffer(StringBuilder) - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
Create a message buffer with defined String builder.
build() - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Get the message constructed by this builder.
build(InputStream, String) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
 
build(InputStream, String, boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
Deprecated.
use the two-arg variant
build(Reader) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
 
build(Reader, boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
Deprecated.
use {#build(java.io.Reader)}

C

call() - Method in interface org.apache.maven.shared.utils.cli.CommandLineCallable
capitalise(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Capitalise a String.
capitaliseAllWords(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Capitalise all the words in a String.
capitalizeFirstLetter(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Converts the first character of the given String to uppercase.
center(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Center a String in a larger String of size n.
center(String, int, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Center a String in a larger String of size n.
CHILDREN_COMBINATION_APPEND - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
The attribute append.
CHILDREN_COMBINATION_MODE_ATTRIBUTE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
The attribute which identifies merge/append.
chomp(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove the last newline, and everything after it from a String.
chomp(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove the last value of a supplied String, and everything after it from a String.
chompLast(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove a newline if and only if it is at the end of the supplied String.
chompLast(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove a value if and only if the String ends with that value.
chop(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove the last character from a String.
chopNewline(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove \n from end of a String if it's there.
ClassMap - Class in org.apache.maven.shared.utils.introspection
A cache of introspection information for a specific class instance.
ClassMap(Class<?>) - Constructor for class org.apache.maven.shared.utils.introspection.ClassMap
Standard constructor
clean(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Removes C0 control characters, including ASCII whitespace, from both ends of this String, handling null by returning an empty String.
cleanDirectory(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.cleanDirectory()
clearArgs() - Method in class org.apache.maven.shared.utils.cli.Commandline
Clear out the arguments but leave the executable in place for another operation.
clone() - Method in class org.apache.maven.shared.utils.cli.Commandline
clone() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
close() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
Deprecated.
As of 3.2.0, removed without replacement.
close() - Method in class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
close(InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use try-with-resources
close(OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use try-with-resources
close(Reader) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use try-with-resources
close(Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use try-with-resources
close(Channel) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use try-with-resources
CmdShell - Class in org.apache.maven.shared.utils.cli.shell
Implementation to call the CMD Shell present on Windows NT, 2000, XP, 7, 8, and 10.
CmdShell() - Constructor for class org.apache.maven.shared.utils.cli.shell.CmdShell
Create an instance of CmdShell.
Commandline - Class in org.apache.maven.shared.utils.cli
Commandline objects help handling command lines specifying processes to execute.
Commandline() - Constructor for class org.apache.maven.shared.utils.cli.Commandline
Create a new command line object.
Commandline(String) - Constructor for class org.apache.maven.shared.utils.cli.Commandline
Create a new command line object.
Commandline(Shell) - Constructor for class org.apache.maven.shared.utils.cli.Commandline
Create a new command line object.
Commandline.Argument - Class in org.apache.maven.shared.utils.cli
A single command line argument
CommandLineCallable - Interface in org.apache.maven.shared.utils.cli
Callable wrapper that exposes the proper exception type to the client.
CommandLineException - Exception in org.apache.maven.shared.utils.cli
 
CommandLineException(String) - Constructor for exception org.apache.maven.shared.utils.cli.CommandLineException
 
CommandLineException(String, Throwable) - Constructor for exception org.apache.maven.shared.utils.cli.CommandLineException
 
CommandLineTimeOutException - Exception in org.apache.maven.shared.utils.cli
Report a timeout for executing process.
CommandLineTimeOutException(String) - Constructor for exception org.apache.maven.shared.utils.cli.CommandLineTimeOutException
 
CommandLineTimeOutException(String, Throwable) - Constructor for exception org.apache.maven.shared.utils.cli.CommandLineTimeOutException
 
CommandLineUtils - Class in org.apache.maven.shared.utils.cli
 
CommandLineUtils() - Constructor for class org.apache.maven.shared.utils.cli.CommandLineUtils
 
CommandLineUtils.StringStreamConsumer - Class in org.apache.maven.shared.utils.cli
A StreamConsumer providing consumed lines as a String.
CommandShell - Class in org.apache.maven.shared.utils.cli.shell
Deprecated.
Windows ME is long dead. Update to Windows 10 and use CmdShell.
CommandShell() - Constructor for class org.apache.maven.shared.utils.cli.shell.CommandShell
Deprecated.
Create an instance.
concatenate(Object...) - Static method in class org.apache.maven.shared.utils.StringUtils
Concatenates elements of an array into a single String.
consumeLine(String) - Method in class org.apache.maven.shared.utils.cli.CommandLineUtils.StringStreamConsumer
Called when the StreamPumper pumps a line from the Stream.
consumeLine(String) - Method in class org.apache.maven.shared.utils.cli.DefaultConsumer
Called when the StreamPumper pumps a line from the Stream.
consumeLine(String) - Method in interface org.apache.maven.shared.utils.cli.StreamConsumer
Called when the StreamPumper pumps a line from the Stream.
consumeLine(String) - Method in class org.apache.maven.shared.utils.cli.WriterStreamConsumer
Called when the StreamPumper pumps a line from the Stream.
contains(String, char) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if String contains a search character, handling null.
contains(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if String contains a search String, handling null.
contentEquals(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Compare the contents of two files to determine if they are equal or not.
contentEquals(InputStream, InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.contentEquals()
CONTINUE - Enum constant in enum org.apache.maven.shared.utils.io.ScanConductor.ScanAction
Deprecated.
Continue the scanning with the next item in the list.
copy(byte[], OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
inline this method
copy(byte[], Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
copy(byte[], Writer, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
copy(byte[], Writer, String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.write().
copy(byte[], Writer, String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.write().
copy(InputStream, OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.copy() or in Java 9 and later InputStream.transferTo().
copy(InputStream, OutputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.copy() or in Java 9 and later InputStream.transferTo().
copy(InputStream, Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.copy().
copy(InputStream, Writer, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.copy().
copy(InputStream, Writer, String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.copy().
copy(InputStream, Writer, String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.copy().
copy(Reader, OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
copy(Reader, OutputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
copy(Reader, Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
copy(Reader, Writer, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.copy().
copy(String, OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
copy(String, OutputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
copy(String, Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.write().
copyDirectory(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.copyDirectory()
copyDirectory(File, File, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.copyDirectory()
copyDirectoryStructure(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.copyDirectory()
copyFile(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.Files.copy(source.toPath(), destination.toPath(), LinkOption.NOFOLLOW_LINKS, StandardCopyOption.REPLACE_EXISTING)
copyFile(File, File, String, FileUtils.FilterWrapper...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
If wrappers is null or empty, the file will be copied only if to.lastModified() < from.lastModified()
copyFile(File, File, String, FileUtils.FilterWrapper[], boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
If wrappers is null or empty, the file will be copy only if to.lastModified() < from.lastModified() or if overwrite is true
copyFileToDirectory(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.copyFileToDirectory()
copyURLToFile(URL, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.Files.copy(source.openStream(), destination.toPath(), StandardCopyOption.REPLACE_EXISTING)
countMatches(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
How many times is the substring in the larger String.
createArg() - Method in class org.apache.maven.shared.utils.cli.Commandline
Creates an empty argument object and inserts it at the end of the argument list.
createArg(boolean) - Method in class org.apache.maven.shared.utils.cli.Commandline
Creates an argument object and adds it to the list of args.
createCommandLine(Request, String) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
Create the command line object given the request.
createResult() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
 
createSymbolicLink(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Create a new symbolic link, possibly replacing an existing symbolic link.
createSymbolicLink(File, File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
Deprecated.
 
createSystemErrorStreamConsumer(Request) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
 
createSystemInputStream() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
 
createSystemOutStreamConsumer(Request) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
 
createTempFile(String, String, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.Files.createTempFile()

D

debug(String) - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
Deprecated.
 
debug(String) - Method in class org.apache.maven.shared.utils.io.WalkCollector
Deprecated.
debug(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
Render a message at DEBUG level.
DEFAULT_COLUMN_LINE - Static variable in class org.apache.maven.shared.utils.xml.XmlWriterUtil
The default column before line wrapping i.e.
DEFAULT_INDENTATION_SIZE - Static variable in class org.apache.maven.shared.utils.xml.XmlWriterUtil
The default line indenter size i.e.
DefaultConsumer - Class in org.apache.maven.shared.utils.cli
 
DefaultConsumer() - Constructor for class org.apache.maven.shared.utils.cli.DefaultConsumer
 
DEFAULTEXCLUDES - Static variable in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Patterns which should be excluded by default.
defaultString(Object) - Static method in class org.apache.maven.shared.utils.StringUtils
Deprecated.
use java.lang.Objects.toString()
defaultString(Object, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Deprecated.
use java.lang.Objects.toString()
delete(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.files.Files.delete(file.toPath())
delete(File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
Deprecated.
Performs a nio delete
deleteDirectory(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.deleteDirectory()
deleteDirectory(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.deleteDirectory()
deleteLegacyStyle(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.files.Files.delete(file.toPath())
deleteWhitespace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Deletes all whitespace from a String.
difference(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Compare two strings, and return the portion where they differ.
differenceAt(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Compare two strings, and return the index at which the strings begin to differ.
diffFiles(String[], String[]) - Static method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
 
diffIncludedFiles(String...) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Determine the file differences between the currently included files and a previously captured list of files.
DirectoryScanner - Class in org.apache.maven.shared.utils.io
Deprecated.
use java.nio.file.DirectoryStream or java.nio.Files.walkFileTree() and related classes
DirectoryScanner() - Constructor for class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Sole constructor.
DirectoryScanResult - Class in org.apache.maven.shared.utils.io
Deprecated.
use java.nio.file.DirectoryStream and related classes
DirectoryScanResult(String[], String[]) - Constructor for class org.apache.maven.shared.utils.io.DirectoryScanResult
Deprecated.
 
directoryWalkFinished() - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
Deprecated.
The directory walking has finished.
directoryWalkFinished() - Method in class org.apache.maven.shared.utils.io.WalkCollector
Deprecated.
The directory walking has finished.
DirectoryWalkListener - Interface in org.apache.maven.shared.utils.io
Deprecated.
use java.nio.file.FileVisitor and related classes
directoryWalkStarting(File) - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
Deprecated.
The directory walking has begun.
directoryWalkStarting(File) - Method in class org.apache.maven.shared.utils.io.WalkCollector
Deprecated.
The directory walking has begun.
directoryWalkStep(int, File) - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
Deprecated.
The included entry that was encountered.
directoryWalkStep(int, File) - Method in class org.apache.maven.shared.utils.io.WalkCollector
Deprecated.
The included entry that was encountered.
dirname(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use Paths.get(path).getParent().getName()
disable() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
 

E

endElement() - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
End the previously opened element.
endElement() - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
End the previously opened element.
endsWithIgnoreCase(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if String ends with a search String, handling null.
equals(Object) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
equals(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Deprecated.
use java.lang.Objects.equals()
equalsIgnoreCase(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Compares two Strings, returning true if they are equal ignoring the case.
error(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
Render a message at ERROR level.
escape(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Escapes any values it finds into their String form.
escape(String, char[], char) - Static method in class org.apache.maven.shared.utils.StringUtils
 
evaluate(String, Object) - Static method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
The implementation supports indexed, nested and mapped properties.
evaluate(String, Object, boolean) - Static method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
The implementation supports indexed, nested and mapped properties.
execute() - Method in class org.apache.maven.shared.utils.cli.Commandline
Execute the command.
execute(Request) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
Execute the input request and then returns the result of the execution.
execute(Request) - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaTool
Execute the input request and then returns the result of the execution.
executeCommandLine(Commandline, InputStream, StreamConsumer, StreamConsumer) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
 
executeCommandLine(Commandline, InputStream, StreamConsumer, StreamConsumer, int) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
 
executeCommandLine(Commandline, InputStream, StreamConsumer, StreamConsumer, int, Runnable) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
 
executeCommandLine(Commandline, InputStream, StreamConsumer, StreamConsumer, int, Runnable, Charset) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
 
executeCommandLine(Commandline, StreamConsumer, StreamConsumer) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
 
executeCommandLine(Commandline, StreamConsumer, StreamConsumer, int) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
 
executeCommandLine(Commandline, Request) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
 
executeCommandLineAsCallable(Commandline, InputStream, StreamConsumer, StreamConsumer, int, Runnable) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
Immediately forks a process, returns a callable that will block until process is complete.
executeCommandLineAsCallable(Commandline, InputStream, StreamConsumer, StreamConsumer, int, Runnable, Charset) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
Immediately forks a process, returns a callable that will block until process is complete.
exists(File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
Deprecated.
 
extension(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FilenameUtils.getExtension

F

failure(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append message content in failure style.
FAMILY_DOS - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_MAC - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_NETWARE - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_NT - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_OPENVMS - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_OS2 - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_OS400 - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_TANDEM - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_UNIX - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_WIN9X - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_WINDOWS - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FAMILY_ZOS - Static variable in class org.apache.maven.shared.utils.Os
OS family that can be tested for.
FILE_ENCODING - Static variable in class org.apache.maven.shared.utils.ReaderFactory
The file.encoding System Property.
FILE_ENCODING - Static variable in class org.apache.maven.shared.utils.WriterFactory
The file.encoding System Property.
fileAppend(String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.files.Files.write(filename, data.getBytes(), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
fileAppend(String, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
fileDelete(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use Files.delete(Paths.get(fileName))
fileExists(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.io.File.exists()
filename(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use Paths.get(path).getName()
fileRead(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use new String(java.nio.files.Files.readAllBytes(file.toPath()))
fileRead(File, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use new String(java.nio.files.Files.readAllBytes(file.toPath()), encoding)
fileRead(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use new String(java.nio.files.Files.readAllBytes(file))
fileReadArray(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.files.Files.readAllLines()
FileUtils - Class in org.apache.maven.shared.utils.io
This class provides basic facilities for manipulating files and file paths.
FileUtils() - Constructor for class org.apache.maven.shared.utils.io.FileUtils
protected constructor.
FileUtils.FilterWrapper - Class in org.apache.maven.shared.utils.io
Wrapper class for Filter.
fileWrite(File, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.files.Files.write(file.toPath(), data.getBytes(encoding), StandardOpenOption.CREATE)
fileWrite(String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.files.Files.write(filename, data.getBytes(), StandardOpenOption.CREATE)
fileWrite(String, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.files.Files.write(Paths.get(filename), data.getBytes(encoding), StandardOpenOption.CREATE)
fileWriteArray(File, String...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.files.Files.write(file.toPath(), data.getBytes(encoding), StandardOpenOption.CREATE)
fileWriteArray(File, String, String...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.files.Files.write(file.toPath(), data.getBytes(encoding), StandardOpenOption.CREATE)
FilterWrapper() - Constructor for class org.apache.maven.shared.utils.io.FileUtils.FilterWrapper
 
findJavaToolExecutable() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
 
findMethod(String, Object...) - Method in class org.apache.maven.shared.utils.introspection.ClassMap
Find a Method using the methodKey provided.
flush() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
Deprecated.
As of 3.2.0, removed without replacement.
forceDelete(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.deleteQuietly()
forceDelete(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.deleteQuietly()
forceMkdir(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Make a directory.
format(String, Object...) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append formatted content to the buffer.
from(String...) - Static method in class org.apache.maven.shared.utils.io.MatchPatterns
Deprecated.
 
fromString(String) - Static method in class org.apache.maven.shared.utils.io.MatchPattern
Deprecated.
 

G

getArguments() - Method in class org.apache.maven.shared.utils.cli.Commandline
Returns all arguments defined by addLine, addValue or the argument object.
getArguments(boolean) - Method in class org.apache.maven.shared.utils.cli.Commandline
Returns all arguments defined by addLine, addValue, or the argument object.
getAttribute(String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
getAttributeNames() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
getBasedir() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Returns the base directory to be scanned.
getChild(int) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
getChild(String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
getChildCount() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
getChildren() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
getChildren(String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
getChomp(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove everything and return the last value of a supplied String, and everything after it from a String.
getCommandline() - Method in class org.apache.maven.shared.utils.cli.Commandline
Returns the executable and all defined arguments.
getCommandline() - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
Gets the command line used.
getCommandLine(String, String...) - Method in class org.apache.maven.shared.utils.cli.shell.CmdShell
Specific implementation that quotes all the command line.
getDefaultEncoding() - Static method in class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
getDefaultExcludes() - Static method in class org.apache.maven.shared.utils.io.FileUtils
 
getDefaultExcludesAsList() - Static method in class org.apache.maven.shared.utils.io.FileUtils
 
getDefaultExcludesAsString() - Static method in class org.apache.maven.shared.utils.io.FileUtils
 
getDirectoryNames(File, String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Return a list of directories as String depending options.
getDirectoryNames(File, String, String, boolean, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Return a list of directories as Strings.
getEncoding() - Method in class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
getEnvironmentVariables() - Method in class org.apache.maven.shared.utils.cli.Commandline
Return the list of environment variables.
getException() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
 
getExcludedDirectories() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Returns the names of the directories which matched at least one of the include patterns and at least one of the exclude patterns.
getExcludedFiles() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Returns the names of the files which matched at least one of the include patterns and at least one of the exclude patterns.
getExecutable() - Method in class org.apache.maven.shared.utils.cli.Commandline
 
getExecutable() - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
getExecutable() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
 
getExecutionException() - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
Gets the exception that possibly occurred during the execution of the command line.
getExecutionPreamble() - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
getExitCode() - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
Gets the exit code from the tool invocation.
getExtension(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FilenameUtils.getExtension()
getFileAndDirectoryNames(File, String, String, boolean, boolean, boolean, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Return a list of file names as Strings.
getFileNames(File, String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Return a list of files as String depending options.
getFiles(File, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Return the files contained in the directory, using inclusion and exclusion Ant patterns, including the directory name in each of the files
getFiles(File, String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Return the files contained in the directory, using inclusion and exclusion Ant patterns
getFilesAdded() - Method in class org.apache.maven.shared.utils.io.DirectoryScanResult
Deprecated.
 
getFilesFromExtension(String, String...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Given a directory and an array of extensions return an array of compliant files.
getFilesRemoved() - Method in class org.apache.maven.shared.utils.io.DirectoryScanResult
Deprecated.
 
getIncludedDirectories() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
this method is buggy. Do not depend on it.
getIncludedFiles() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
this method does not work correctly on Windows.
getJavaToolName() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
Return the name of the java tool.
getJavaToolName() - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaTool
Return the name of the java tool.
getLogger() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
 
getName() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
getNestedString(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Get the String that is nested in between two instances of the same String.
getNestedString(String, String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Get the String that is nested in between two Strings.
getNotIncludedDirectories() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Returns the names of the directories which matched none of the include patterns.
getNotIncludedFiles() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Returns the names of the files which matched none of the include patterns.
getOutput() - Method in class org.apache.maven.shared.utils.cli.CommandLineUtils.StringStreamConsumer
 
getParent() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
getPrechomp(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove and return everything before the first value of a supplied String from another String.
getReader(Reader) - Method in class org.apache.maven.shared.utils.io.FileUtils.FilterWrapper
 
getRelativeFilePath(String, String) - Static method in class org.apache.maven.shared.utils.PathTool
This method can calculate the relative path between two paths on a file system.
getRelativePath(String, String) - Static method in class org.apache.maven.shared.utils.PathTool
Determines the relative path of a filename from a base directory.
getShell() - Method in class org.apache.maven.shared.utils.cli.Commandline
Get the shell to be used in this command line.
getShellArgs() - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
getShellArgsList() - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
getShellCommandLine(String...) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
Get the full command line to execute, including shell command, shell arguments, executable and executable arguments
getSystemEnvVars() - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
Deprecated.
use System#getenv()
getSystemEnvVars(boolean) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
Deprecated.
use System#getenv()
getSystemErrorStreamConsumer() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
Gets the value of the systemErrorStreamConsumer field.
getSystemErrorStreamConsumer() - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
Gets the value of the systemErrorStreamConsumer field.
getSystemOutStreamConsumer() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
Gets the value of the systemOutStreamConsumer field.
getSystemOutStreamConsumer() - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
Gets the value of the systemOutStreamConsumer field.
getTerminalWidth() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
Get the terminal width or -1 if the width cannot be determined.
getTokenizedPathString() - Method in class org.apache.maven.shared.utils.io.MatchPattern
Deprecated.
 
getValidFamilies() - Static method in class org.apache.maven.shared.utils.Os
The set of valid families.
getValue() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
getWorkingDirectory() - Method in class org.apache.maven.shared.utils.cli.Commandline
 
getWorkingDirectory() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
 

H

hashCode() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom

I

indexOfAny(String, String...) - Static method in class org.apache.maven.shared.utils.StringUtils
Find the first index of any of a set of potential substrings.
info(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
Render a message at INFO level.
interpolate(String, Map<?, ?>) - Static method in class org.apache.maven.shared.utils.StringUtils
Fill all 'variables' in the given text with the values from the map.
IOUtil - Class in org.apache.maven.shared.utils.io
General IO Stream manipulation.
isAlpha(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if the String contains only Unicode letters.
isAlphanumeric(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if the String contains only Unicode letters or digits.
isAlphanumericSpace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if the String contains only Unicode letters, digits or space (' ').
isAlphaSpace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if the String contains only Unicode letters and space (' ').
isArch(String) - Static method in class org.apache.maven.shared.utils.Os
Determines if the OS on which Ant is executing matches the given OS architecture.
isAtLeastJava7() - Static method in class org.apache.maven.shared.utils.io.Java7Support
Deprecated.
 
isBlank(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if a String is whitespace, empty ("") or null.
isColorEnabled() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
Is message color enabled: requires Jansi available (through Maven) and the color has not been disabled.
isDoubleQuotedArgumentEscaped() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
 
isEmpty(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if a (trimmed) String is null or empty.
isEmpty(String) - Static method in class org.apache.maven.shared.utils.xml.Xpp3Dom
Deprecated.
use str == null || str.trim().isEmpty()
isEmpty(String) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
Deprecated.
use str == null || String.isBlank(str) (Java 11+) or org.apache.commons.lang3.StringUtils.isBlank(str)
isFamily(String) - Static method in class org.apache.maven.shared.utils.Os
Determines if the OS on which Ant is executing matches the given OS family.
isJava7() - Static method in class org.apache.maven.shared.utils.io.Java7Support
Deprecated.
 
isMask() - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
 
isName(String) - Static method in class org.apache.maven.shared.utils.Os
Determines if the OS on which Ant is executing matches the given OS name.
isNotBlank(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if a String is not empty (""), not null and not whitespace only.
isNotEmpty(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if a String is non null and is not empty (length > 0).
isNotEmpty(String) - Static method in class org.apache.maven.shared.utils.xml.Xpp3Dom
Deprecated.
use str != null && !str.isEmpty()
isNumeric(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if the String contains only Unicode digits.
ISO_8859_1 - Static variable in class org.apache.maven.shared.utils.ReaderFactory
Deprecated.
use java.nio.charset.StandardCharset.ISO_8859_1
ISO_8859_1 - Static variable in class org.apache.maven.shared.utils.WriterFactory
Deprecated.
use java.nio.charset.StandardCharset.ISO_8859_1
isShellEnvironmentInherited() - Method in class org.apache.maven.shared.utils.cli.Commandline
Indicates whether the environment variables of the current process should are propagated to the executing Command.
isSingleQuotedArgumentEscaped() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
 
isSymbolicLink(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.file.Files.isSymbolicLink(file.toPath())
isSymbolicLinkForSure(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.file.Files.isSymbolicLink(file.toPath())
isSymLink(File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
Deprecated.
 
isUnconditionalQuoting() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
 
isValidFamily(String) - Static method in class org.apache.maven.shared.utils.Os
Test if the given family String represents a valid Family
isVersion(String) - Static method in class org.apache.maven.shared.utils.Os
Determines if the OS on which Ant is executing matches the given OS version.
isWhitespace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Checks if the String contains only whitespace.
iterator() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom

J

Java7Support - Class in org.apache.maven.shared.utils.io
Deprecated.
no longer needed, prefer to use Files methods directly.
Java7Support() - Constructor for class org.apache.maven.shared.utils.io.Java7Support
Deprecated.
 
JavaTool<Request extends JavaToolRequest> - Interface in org.apache.maven.shared.utils.cli.javatool
Describes a java tool, means a executable available in the jdk.
JavaToolException - Exception in org.apache.maven.shared.utils.cli.javatool
Signals an error during the construction of the command line used to invoke java tool, e.g.
JavaToolException(String) - Constructor for exception org.apache.maven.shared.utils.cli.javatool.JavaToolException
 
JavaToolException(String, Throwable) - Constructor for exception org.apache.maven.shared.utils.cli.javatool.JavaToolException
 
JavaToolRequest - Interface in org.apache.maven.shared.utils.cli.javatool
Specifies the minimum parameters used to control a JavaTool invocation.
JavaToolResult - Class in org.apache.maven.shared.utils.cli.javatool
Describes the result of a JavaTool invocation.
JavaToolResult() - Constructor for class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
 
join(Object[], String) - Static method in class org.apache.maven.shared.utils.StringUtils
Deprecated.
use java.lang.String.join() instead
join(Iterator<?>, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Deprecated.
use java.lang.String.join() instead

L

lastIndexOfAny(String, String...) - Static method in class org.apache.maven.shared.utils.StringUtils
Find the latest index of any of a set of potential substrings.
left(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Gets the leftmost n characters of a String.
leftPad(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Left pad a String with spaces.
leftPad(String, int, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Left pad a String with a specified string.
level() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
Create a logger level renderer.
LINE_SEP - Static variable in class org.apache.maven.shared.utils.Os
system line separator , e.g.
loadFile(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
assumes the platform default character set
loadOptionalProperties(File) - Static method in class org.apache.maven.shared.utils.PropertyUtils
Loads Properties from a File.
loadOptionalProperties(InputStream) - Static method in class org.apache.maven.shared.utils.PropertyUtils
Loads Properties from an InputStream and closes the stream.
loadOptionalProperties(URL) - Static method in class org.apache.maven.shared.utils.PropertyUtils
Loads Properties from a given URL.
loadProperties(File) - Static method in class org.apache.maven.shared.utils.PropertyUtils
Deprecated.
use PropertyUtils.loadOptionalProperties(java.io.File) instead. This method should not be used as it suppresses exceptions silently when loading properties fails and returns null instead of an empty Properties instance when the given File is null.
loadProperties(InputStream) - Static method in class org.apache.maven.shared.utils.PropertyUtils
Deprecated.
use PropertyUtils.loadOptionalProperties(java.io.InputStream) instead. This method should not be used as it suppresses exceptions silently when loading properties fails.
loadProperties(URL) - Static method in class org.apache.maven.shared.utils.PropertyUtils
Deprecated.
use PropertyUtils.loadOptionalProperties(java.net.URL) instead. This method should not be used as it suppresses exceptions silently when loading properties fails and returns null instead of an empty Properties instance when the given URL is null.
LoggerLevelRenderer - Interface in org.apache.maven.shared.utils.logging
Logger level renderer, intended for Maven slf4j logging provider implementers to render logger level.
lowerCase(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Convert a String to lower case, null String returns null.
lowercaseFirstLetter(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Converts the first character of the given String to lowercase.
LS - Static variable in class org.apache.maven.shared.utils.xml.XmlWriterUtil
The vm line separator

M

match(String, String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
Deprecated.
Tests whether or not a string matches against a pattern.
match(String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
Deprecated.
Tests whether or not a string matches against a pattern.
matches(String, boolean) - Method in class org.apache.maven.shared.utils.io.MatchPatterns
Deprecated.
Checks these MatchPatterns against a specified string.
matchesPatternStart(String, boolean) - Method in class org.apache.maven.shared.utils.io.MatchPatterns
Deprecated.
 
matchPath(String, boolean) - Method in class org.apache.maven.shared.utils.io.MatchPattern
Deprecated.
 
matchPath(String, String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
Deprecated.
Tests whether or not a given path matches a given pattern.
matchPath(String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
Deprecated.
Tests whether or not a given path matches a given pattern.
MatchPattern - Class in org.apache.maven.shared.utils.io
Deprecated.
use java.nio.file.DirectoryStream.Filter<T> and related classes
MatchPatterns - Class in org.apache.maven.shared.utils.io
Deprecated.
use java.nio.file.DirectoryStream.Filter<T> and related classes
matchPatternStart(String, boolean) - Method in class org.apache.maven.shared.utils.io.MatchPattern
Deprecated.
 
matchPatternStart(String, String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
Deprecated.
Tests whether or not a given path matches the start of a given pattern up to the first "**".
matchPatternStart(String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
Deprecated.
Tests whether or not a given path matches the start of a given pattern up to the first "**".
merge(Xpp3Dom, Xpp3Dom, Boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
 
mergeXpp3Dom(Xpp3Dom, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
mergeXpp3Dom(Xpp3Dom, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
 
mergeXpp3Dom(Xpp3Dom, Xpp3Dom, Boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
mergeXpp3Dom(Xpp3Dom, Xpp3Dom, Boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
 
MessageBuilder - Interface in org.apache.maven.shared.utils.logging
Message builder that supports configurable styling.
MessageUtils - Class in org.apache.maven.shared.utils.logging
Colored message utils, to manage colors consistently across plugins (only if Maven version is at least 3.5.0).
MessageUtils() - Constructor for class org.apache.maven.shared.utils.logging.MessageUtils
 
mid(String, int, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Gets n characters from the middle of a String.
mkdir(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.file.Files.createDirectories(Paths.get(dir))
mojo(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append message content in mojo style.

N

newline() - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append newline to the message buffer.
newPlatformReader(File) - Static method in class org.apache.maven.shared.utils.ReaderFactory
Deprecated.
always specify an encoding. Do not depend on the default platform character set.
newPlatformWriter(File) - Static method in class org.apache.maven.shared.utils.WriterFactory
Deprecated.
always specify an encoding. Do not depend on the default platform character set.
newPlatformWriter(OutputStream) - Static method in class org.apache.maven.shared.utils.WriterFactory
Deprecated.
always specify an encoding. Do not depend on the default platform character set.
newReader(File, String) - Static method in class org.apache.maven.shared.utils.ReaderFactory
Create a new Reader with specified encoding.
newReader(InputStream, String) - Static method in class org.apache.maven.shared.utils.ReaderFactory
Create a new Reader with specified encoding.
newReader(URL, String) - Static method in class org.apache.maven.shared.utils.ReaderFactory
Create a new Reader with specified encoding.
newWriter(File, String) - Static method in class org.apache.maven.shared.utils.WriterFactory
Create a new Writer with specified encoding.
newWriter(OutputStream, String) - Static method in class org.apache.maven.shared.utils.WriterFactory
Create a new Writer with specified encoding.
newXmlReader(File) - Static method in class org.apache.maven.shared.utils.ReaderFactory
Deprecated.
use org.apache.commons.io.input.XmlStreamReader instead
newXmlReader(InputStream) - Static method in class org.apache.maven.shared.utils.ReaderFactory
Deprecated.
use org.apache.commons.io.input.XmlStreamReader instead
newXmlReader(URL) - Static method in class org.apache.maven.shared.utils.ReaderFactory
Deprecated.
use org.apache.commons.io.input.XmlStreamReader instead
newXmlWriter(File) - Static method in class org.apache.maven.shared.utils.WriterFactory
Deprecated.
use org.apache.commons.io.input.XmlStreamWriter instead
newXmlWriter(OutputStream) - Static method in class org.apache.maven.shared.utils.WriterFactory
Deprecated.
use org.apache.commons.io.input.XmlStreamWriter instead
NO_RECURSE - Enum constant in enum org.apache.maven.shared.utils.io.ScanConductor.ScanAction
Deprecated.
normalize(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileNameUtils.normalize()

O

org.apache.maven.shared.utils - package org.apache.maven.shared.utils
 
org.apache.maven.shared.utils.cli - package org.apache.maven.shared.utils.cli
 
org.apache.maven.shared.utils.cli.javatool - package org.apache.maven.shared.utils.cli.javatool
 
org.apache.maven.shared.utils.cli.shell - package org.apache.maven.shared.utils.cli.shell
 
org.apache.maven.shared.utils.introspection - package org.apache.maven.shared.utils.introspection
 
org.apache.maven.shared.utils.io - package org.apache.maven.shared.utils.io
 
org.apache.maven.shared.utils.logging - package org.apache.maven.shared.utils.logging
An API to write Maven messages to console with styled color content, consistently across whole Maven ecosystem (Maven itself or any plugin or extension).
org.apache.maven.shared.utils.xml - package org.apache.maven.shared.utils.xml
 
org.apache.maven.shared.utils.xml.pull - package org.apache.maven.shared.utils.xml.pull
 
Os - Class in org.apache.maven.shared.utils
Condition that tests the OS type.
Os() - Constructor for class org.apache.maven.shared.utils.Os
Default constructor
Os(String) - Constructor for class org.apache.maven.shared.utils.Os
Constructor that sets the family attribute
OS_ARCH - Static variable in class org.apache.maven.shared.utils.Os
The OA architecture.
OS_FAMILY - Static variable in class org.apache.maven.shared.utils.Os
OS Family
OS_NAME - Static variable in class org.apache.maven.shared.utils.Os
The OS Name.
OS_VERSION - Static variable in class org.apache.maven.shared.utils.Os
The OS version.
overlayString(String, String, int, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Overlay a part of a String with another String.

P

PATH_SEP - Static variable in class org.apache.maven.shared.utils.Os
The path separator.
PathTool - Class in org.apache.maven.shared.utils
Path tool contains static methods to assist in determining path-related information such as relative paths.
PathTool() - Constructor for class org.apache.maven.shared.utils.PathTool
Deprecated.
This is a utility class with only static methods. Don't create instances of it.
PATTERN_HANDLER_SUFFIX - Static variable in class org.apache.maven.shared.utils.io.SelectorUtils
Deprecated.
Pattern handler suffix.
prechomp(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove the first value of a supplied String, and everything before it from a String.
PrettyPrintXMLWriter - Class in org.apache.maven.shared.utils.xml
XMLWriter with nice indentation.
PrettyPrintXMLWriter(PrintWriter) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
PrettyPrintXMLWriter(PrintWriter, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
PrettyPrintXMLWriter(PrintWriter, String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
PrettyPrintXMLWriter(PrintWriter, String, String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
PrettyPrintXMLWriter(PrintWriter, String, String, String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
PrettyPrintXMLWriter(Writer) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
PrettyPrintXMLWriter(Writer, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
PrettyPrintXMLWriter(Writer, String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
PrettyPrintXMLWriter(Writer, String, String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
project(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append message content in project style.
PropertyUtils - Class in org.apache.maven.shared.utils
Static utility methods for loading properties.
PropertyUtils() - Constructor for class org.apache.maven.shared.utils.PropertyUtils
Deprecated.
This is a utility class with only static methods. Don't create instances of it.

Q

quoteAndEscape(String, char) - Static method in class org.apache.maven.shared.utils.StringUtils
Quote and escape a String with the given character, handling null.
quoteAndEscape(String, char, char[]) - Static method in class org.apache.maven.shared.utils.StringUtils
Quote and escape a String with the given character, handling null.
quoteAndEscape(String, char, char[], char[], char, boolean) - Static method in class org.apache.maven.shared.utils.StringUtils
 
quoteAndEscape(String, char, char[], char, boolean) - Static method in class org.apache.maven.shared.utils.StringUtils
 
quoteOneItem(String, boolean) - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
Unify quotes in a path for the Bourne Shell.
quoteOneItem(String, boolean) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
 

R

read(char[], int, int) - Method in class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
ReaderFactory - Class in org.apache.maven.shared.utils
Utility to create Readers from streams, with explicit encoding choice: platform default, XML, or specified.
ReaderFactory() - Constructor for class org.apache.maven.shared.utils.ReaderFactory
 
readSymbolicLink(File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
Deprecated.
 
ReflectionValueExtractor - Class in org.apache.maven.shared.utils.introspection
Using simple dotted expressions to extract the values from an Object instance, For example we might want to extract a value like: project.build.sourceDirectory
REGEX_HANDLER_PREFIX - Static variable in class org.apache.maven.shared.utils.io.SelectorUtils
Deprecated.
Regex start pattern.
registerShutdownHook() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
Register a shutdown hook with the JVM runtime, uninstalling Ansi support on JVM shutdown unless is has already been uninstalled at that time.
removeAndHump(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
This is basically the inverse of StringUtils.addAndDeHump(String).
removeChild(int) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
removeDuplicateWhitespace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove all duplicate whitespace characters and replace line terminators with a single space.
removeExtension(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FilenameUtils.removeExtension()
removeShutdownHook(Thread) - Static method in class org.apache.maven.shared.utils.cli.ShutdownHookUtils
 
rename(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use java.nio.Files.move()
repeat(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Repeat a String n times to form a new string.
replace(String, char, char) - Static method in class org.apache.maven.shared.utils.StringUtils
Replace all occurrences of a char within a string with another char.
replace(String, char, char, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Replace a char with another char inside a larger String, for the first max values of the search char.
replace(String, String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Replace all occurrences of a String within another String.
replace(String, String, String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Replace a String with another String inside a larger String, for the first max values of the search String.
replaceOnce(String, char, char) - Static method in class org.apache.maven.shared.utils.StringUtils
Replace a char with another char inside a larger String, once.
replaceOnce(String, String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Replace a String with another String inside a larger String, once.
resolveFile(File, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Resolve a file filename to its canonical form.
reverse(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Reverse a String.
reverseDelimitedString(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Reverses a String that is delimited by a specific character.
right(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Gets the rightmost n characters of a String.
rightPad(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Right pad a String with spaces.
rightPad(String, int, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Right pad a String with a specified string.
run() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
run it.

S

scan() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Scans the base directory for files which match at least one include pattern and don't match any exclude patterns.
ScanConductor - Interface in org.apache.maven.shared.utils.io
Deprecated.
use java.nio.file.Files.walkFileTree() and related classes
ScanConductor.ScanAction - Enum in org.apache.maven.shared.utils.io
Deprecated.
 
SelectorUtils - Class in org.apache.maven.shared.utils.io
Deprecated.
use java.nio.file.Files.walkFileTree() and related classes
SELF_COMBINATION_MERGE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
The attribute which identifies merge
SELF_COMBINATION_MODE_ATTRIBUTE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
The name of the attribute.
SELF_COMBINATION_OVERRIDE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
The attributes which identifies override.
setAttribute(String, String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
setBasedir(File) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Sets the base directory to be scanned.
setBasedir(String) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Sets the base directory to be scanned.
setCaseSensitive(boolean) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Sets whether or not the file system should be regarded as case sensitive.
setColorEnabled(boolean) - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
Enables message color (if Jansi is available).
setCommandline(Commandline) - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
Set the commandline used to obtain this result.
setDefaultEncoding(String) - Static method in class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
setDocType(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
Sets the DOCTYPE of the document.
setDocType(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
Sets the DOCTYPE of the document.
setDone() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
 
setEncoding(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
Sets the encoding of the document.
setEncoding(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
Sets the encoding of the document.
setExcludes(String...) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Sets the list of exclude patterns to use.
setExecutable(String) - Method in class org.apache.maven.shared.utils.cli.Commandline
Sets the executable to run.
setExecutable(String) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
Sets the executable to run.
setExecutionException(CommandLineException) - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
Sets the exception that prevented to execute the command line.
setExitCode(int) - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
Sets the exit code reported by the tool invocation.
setFile(File) - Method in interface org.apache.maven.shared.utils.cli.Arg
 
setFile(File) - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
setFollowSymlinks(boolean) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Sets whether or not symbolic links should be followed.
setIncludes(String...) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
Sets the list of include patterns to use.
setLine(String) - Method in interface org.apache.maven.shared.utils.cli.Arg
 
setLine(String) - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
setLineIndenter(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
setLineSeparator(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
 
setMask(boolean) - Method in interface org.apache.maven.shared.utils.cli.Arg
Whether to hide the argument value when a command line prints the arguments.
setMask(boolean) - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
Whether to hide the argument value when a command line prints the arguments.
setParent(Xpp3Dom) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
setQuotedArgumentsEnabled(boolean) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
 
setScanConductor(ScanConductor) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
Deprecated.
 
setShellEnvironmentInherited(boolean) - Method in class org.apache.maven.shared.utils.cli.Commandline
Specifies whether the environment variables of the current process should be propagated to the executing Command.
setSystemErrorStreamConsumer(StreamConsumer) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
Sets the new given value to the field systemErrorStreamConsumer of the request.
setSystemErrorStreamConsumer(StreamConsumer) - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
Sets the new given value to the field systemErrorStreamConsumer of the request.
setSystemOutStreamConsumer(StreamConsumer) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
Sets the new given value to the field systemOutStreamConsumer of the request.
setSystemOutStreamConsumer(StreamConsumer) - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
Sets the new given value to the field systemOutStreamConsumer of the request.
setToolchain(Object) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
Set an optional tool chain to find out the java tool executable location.
setToolchain(Object) - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaTool
Set an optional tool chain to find out the java tool executable location.
setUnconditionalQuoting(boolean) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
 
setValue(String) - Method in interface org.apache.maven.shared.utils.cli.Arg
 
setValue(String) - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
setValue(String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
setWorkingDirectory(File) - Method in class org.apache.maven.shared.utils.cli.Commandline
Sets working directory.
setWorkingDirectory(File) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
Sets execution directory.
setWorkingDirectory(String) - Method in class org.apache.maven.shared.utils.cli.Commandline
Sets working directory.
setWorkingDirectory(String) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
Sets execution directory.
Shell - Class in org.apache.maven.shared.utils.cli.shell
Class that abstracts the Shell functionality, with subclasses for shells that behave particularly, like command.com cmd.exe
Shell() - Constructor for class org.apache.maven.shared.utils.cli.shell.Shell
 
ShutdownHookUtils - Class in org.apache.maven.shared.utils.cli
A shutdown hook that does not throw any exceptions upon container startup/shutdown or security manager restrictions.
ShutdownHookUtils() - Constructor for class org.apache.maven.shared.utils.cli.ShutdownHookUtils
 
sizeOfDirectory(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.sizeOf()
sizeOfDirectory(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Deprecated.
use org.apache.commons.io.FileUtils.sizeOf()
split(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Splits the provided text into a array, using whitespace as the separator.
split(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
 
split(String, String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Splits the provided text into a array, based on a given separator.
startElement(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
Start an XML Element tag.
startElement(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
Start an XML Element tag.
startsWith(String) - Method in class org.apache.maven.shared.utils.io.MatchPattern
Deprecated.
 
StreamConsumer - Interface in org.apache.maven.shared.utils.cli
Works in concert with the StreamPumper class to allow implementations to gain access to the lines being "Pumped".
StreamPumper - Class in org.apache.maven.shared.utils.cli
Class to pump the error stream during Process's runtime.
StreamPumper(InputStream, StreamConsumer) - Constructor for class org.apache.maven.shared.utils.cli.StreamPumper
 
StreamPumper(InputStream, StreamConsumer, Charset) - Constructor for class org.apache.maven.shared.utils.cli.StreamPumper
 
StringStreamConsumer() - Constructor for class org.apache.maven.shared.utils.cli.CommandLineUtils.StringStreamConsumer
 
StringUtils - Class in org.apache.maven.shared.utils
Common String manipulation routines.
StringUtils() - Constructor for class org.apache.maven.shared.utils.StringUtils
StringUtils instances should NOT be constructed in standard programming.
strip(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove whitespace from the front and back of a String.
strip(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Remove a specified String from the front and back of a String.
stripAll(String...) - Static method in class org.apache.maven.shared.utils.StringUtils
Strip whitespace from the front and back of every String in the array.
stripAll(String[], String) - Static method in class org.apache.maven.shared.utils.StringUtils
Strip the specified delimiter from the front and back of every String in the array.
stripAnsiCodes(String) - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
Remove any ANSI code from a message (colors or other escape sequences).
stripEnd(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Strip any of a supplied String from the end of a String.
stripStart(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Strip any of a supplied String from the start of a String.
strong(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append message content in strong style.
substring(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Gets a substring from the specified string avoiding exceptions.
substring(String, int, int) - Static method in class org.apache.maven.shared.utils.StringUtils
Gets a substring from the specified String avoiding exceptions.
success(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append message content in success style.
swapCase(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Swaps the case of String.
systemInstall() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
Install color support.
systemUninstall() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils

T

toByteArray(InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.readFully().
toByteArray(InputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.readFully().
toByteArray(Reader) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
toByteArray(Reader, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
toByteArray(String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
toByteArray(String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
toFile(URL) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Convert from a URL to a File.
toString() - Method in class org.apache.maven.shared.utils.cli.Commandline
toString() - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Deprecated.
toString() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
toString(byte[]) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
toString(byte[], int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
toString(byte[], String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use new String(input, encoding)
toString(byte[], String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use new String(input, encoding)
toString(InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
toString(InputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
always specify a character encoding
toString(InputStream, String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.toString().
toString(InputStream, String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.toString().
toString(Reader) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.toString().
toString(Reader, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
Deprecated.
use org.apache.commons.io.IOUtils.toString().
toString(String...) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
 
toUnescapedString() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
 
toURLs(File...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
Convert the array of Files into a list of URLs.
translateCommandline(String) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
 
trim(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Removes C0 control characters, including ASCII whitespace, from both ends of this String, handling null by returning null.

U

uncapitalise(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Uncapitalise a String.
uncapitaliseAllWords(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Uncapitalise all the words in a string.
unifyLineSeparators(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Deprecated.
this method produces platform dependent code and contributes to non-reproducible builds. In the context of Maven, this is almost never what's needed. Remove calls to this method and do not replace them. That is, change Stringutils.unifyLineSeparators(s) to simply s.
unifyLineSeparators(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
Parses the given String and replaces all occurrences of '\n', '\r' and '\r\n' with the system line separator.
upperCase(String) - Static method in class org.apache.maven.shared.utils.StringUtils
Convert a String to upper case, null String returns null.
US_ASCII - Static variable in class org.apache.maven.shared.utils.ReaderFactory
Deprecated.
use java.nio.charset.StandardCharset.US_ASCII
US_ASCII - Static variable in class org.apache.maven.shared.utils.WriterFactory
Deprecated.
use java.nio.charset.StandardCharset.US_ASCII
UTF_16 - Static variable in class org.apache.maven.shared.utils.ReaderFactory
Deprecated.
use java.nio.charset.StandardCharset.UTF_16
UTF_16 - Static variable in class org.apache.maven.shared.utils.WriterFactory
Deprecated.
use java.nio.charset.StandardCharset.UTF_16
UTF_16BE - Static variable in class org.apache.maven.shared.utils.ReaderFactory
Deprecated.
use java.nio.charset.StandardCharset.UTF_16BE
UTF_16BE - Static variable in class org.apache.maven.shared.utils.WriterFactory
Deprecated.
use java.nio.charset.StandardCharset.UTF_16BE
UTF_16LE - Static variable in class org.apache.maven.shared.utils.ReaderFactory
Deprecated.
use java.nio.charset.StandardCharset.UTF_16LE
UTF_16LE - Static variable in class org.apache.maven.shared.utils.WriterFactory
Deprecated.
use java.nio.charset.StandardCharset.UTF_16LE
UTF_8 - Static variable in class org.apache.maven.shared.utils.ReaderFactory
Deprecated.
use java.nio.charset.StandardCharset.UTF_8
UTF_8 - Static variable in class org.apache.maven.shared.utils.WriterFactory
Deprecated.
use java.nio.charset.StandardCharset.UTF_8

V

valueOf(String) - Static method in enum org.apache.maven.shared.utils.io.ScanConductor.ScanAction
Deprecated.
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.maven.shared.utils.io.ScanConductor.ScanAction
Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared.
visitDirectory(String, File) - Method in interface org.apache.maven.shared.utils.io.ScanConductor
Deprecated.
This method will get invoked for every detected directory.
visitFile(String, File) - Method in interface org.apache.maven.shared.utils.io.ScanConductor
Deprecated.
This method will get invoked for every detected file.

W

waitUntilDone() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
 
WalkCollector - Class in org.apache.maven.shared.utils.io
Deprecated.
use java.nio.file.FileVisitor and related classes
WalkCollector() - Constructor for class org.apache.maven.shared.utils.io.WalkCollector
Deprecated.
Create an instance.
warning(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
Append message content in warning style.
warning(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
Render a message at WARNING level.
write(PrintWriter, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomWriter
 
write(Writer, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomWriter
 
write(XMLWriter, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomWriter
 
write(XMLWriter, Xpp3Dom, boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomWriter
 
writeComment(XMLWriter, String) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write XML comment line.
writeComment(XMLWriter, String, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write XML comment line.
writeComment(XMLWriter, String, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write XML comment line.
writeComment(XMLWriter, String, int, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write XML comment line.
writeCommentLineBreak(XMLWriter) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write XML comment line break.
writeCommentLineBreak(XMLWriter, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write XML comment line break with columnSize as length.
writeCommentText(XMLWriter, String) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write XML comments between two comments line break.
writeCommentText(XMLWriter, String, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write XML comments between two comments line break.
writeCommentText(XMLWriter, String, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write XML comment between two comment line break.
writeCommentText(XMLWriter, String, int, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write XML comments between two comments line break.
writeLineBreak(XMLWriter) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to write one CRLF.
writeLineBreak(XMLWriter, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to repeat CRLF.
writeLineBreak(XMLWriter, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to repeat CRLF and to indent the writer by 2.
writeLineBreak(XMLWriter, int, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
Convenience method to repeat CRLF and to indent the writer by indentSize.
writeMarkup(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
Add preformatted markup to the current element tag.
writeMarkup(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
Add preformatted markup to the current element tag.
WriterFactory - Class in org.apache.maven.shared.utils
Utility to create Writers, with explicit encoding choice: platform default, XML, or specified.
WriterFactory() - Constructor for class org.apache.maven.shared.utils.WriterFactory
 
WriterStreamConsumer - Class in org.apache.maven.shared.utils.cli
 
WriterStreamConsumer(Writer) - Constructor for class org.apache.maven.shared.utils.cli.WriterStreamConsumer
 
writeText(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
Add text to the current element tag.
writeText(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
Add text to the current element tag.

X

XmlPullParserException - Exception in org.apache.maven.shared.utils.xml.pull
 
XmlPullParserException(IOException) - Constructor for exception org.apache.maven.shared.utils.xml.pull.XmlPullParserException
 
XmlPullParserException(String) - Constructor for exception org.apache.maven.shared.utils.xml.pull.XmlPullParserException
 
XmlPullParserException(SAXException) - Constructor for exception org.apache.maven.shared.utils.xml.pull.XmlPullParserException
 
XmlStreamReader - Class in org.apache.maven.shared.utils.xml
Deprecated.
use org.apache.commons.io.input.XmlStreamReader instead
XmlStreamReader(File) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
XmlStreamReader(InputStream) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
XmlStreamReader(InputStream, boolean) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
XmlStreamReader(InputStream, String) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
XmlStreamReader(InputStream, String, boolean) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
XmlStreamReader(InputStream, String, boolean, String) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
XmlStreamReader(URL) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
XmlStreamReader(URLConnection) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
Deprecated.
 
XmlStreamWriter - Class in org.apache.maven.shared.utils.xml
Deprecated.
use org.apache.commons.io.input.XmlStreamWriter instead
XmlStreamWriter(File) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamWriter
Deprecated.
 
XmlStreamWriter(OutputStream) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamWriter
Deprecated.
 
XMLWriter - Interface in org.apache.maven.shared.utils.xml
Interface for tools writing XML files.
XmlWriterUtil - Class in org.apache.maven.shared.utils.xml
Utility class for the XmlWriter class.
XmlWriterUtil() - Constructor for class org.apache.maven.shared.utils.xml.XmlWriterUtil
 
Xpp3Dom - Class in org.apache.maven.shared.utils.xml
A reimplementation of Plexus Xpp3Dom based on the public interface of Plexus Xpp3Dom.
Xpp3Dom(String) - Constructor for class org.apache.maven.shared.utils.xml.Xpp3Dom
 
Xpp3Dom(Xpp3Dom) - Constructor for class org.apache.maven.shared.utils.xml.Xpp3Dom
Create instance.
Xpp3Dom(Xpp3Dom, String) - Constructor for class org.apache.maven.shared.utils.xml.Xpp3Dom
Create instance.
Xpp3DomBuilder - Class in org.apache.maven.shared.utils.xml
 
Xpp3DomBuilder() - Constructor for class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
 
Xpp3DomUtils - Class in org.apache.maven.shared.utils.xml
 
Xpp3DomUtils() - Constructor for class org.apache.maven.shared.utils.xml.Xpp3DomUtils
 
Xpp3DomWriter - Class in org.apache.maven.shared.utils.xml
 
Xpp3DomWriter() - Constructor for class org.apache.maven.shared.utils.xml.Xpp3DomWriter
 
A B C D E F G H I J L M N O P Q R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form