public final class Formatter
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static char[] |
hexDigit
A table of hex digits
|
| Modifier | Constructor and Description |
|---|---|
private |
Formatter() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<org.eclipse.aether.artifact.Artifact> |
getArtifacts(org.eclipse.aether.graph.DependencyNode node) |
static java.lang.String |
getClassPath(org.eclipse.aether.graph.DependencyNode node) |
static java.util.List<java.io.File> |
getFiles(org.eclipse.aether.graph.DependencyNode node) |
static java.util.List<org.eclipse.aether.graph.DependencyNode> |
getNodes(org.eclipse.aether.graph.DependencyNode node) |
static <T> java.lang.String |
join(java.lang.String glue,
BaseResolver.IProcessor<T> processor,
java.util.Collection<T> objects)
Join string array
|
private static java.lang.String |
saveConvert(java.lang.String str,
boolean escapeSpace,
boolean escapeUnicode)
Converts unicodes to encoded \uxxxx and escapes special characters with a preceding slash
|
static boolean |
saveSettings(java.lang.String filePath,
java.util.Properties settings)
Save persist data
|
private static void |
store(java.util.Properties properties,
java.io.OutputStream out,
java.lang.String comments) |
private static char |
toHex(int nibble)
Convert a nibble to a hex character
|
public static java.lang.String getClassPath(org.eclipse.aether.graph.DependencyNode node)
public static java.util.List<java.io.File> getFiles(org.eclipse.aether.graph.DependencyNode node)
public static java.util.List<org.eclipse.aether.artifact.Artifact> getArtifacts(org.eclipse.aether.graph.DependencyNode node)
public static java.util.List<org.eclipse.aether.graph.DependencyNode> getNodes(org.eclipse.aether.graph.DependencyNode node)
public static <T> java.lang.String join(java.lang.String glue,
BaseResolver.IProcessor<T> processor,
java.util.Collection<T> objects)
T - processor result typeglue - string glueprocessor - processorobjects - object arraypublic static boolean saveSettings(java.lang.String filePath,
java.util.Properties settings)
filePath - persist filesettings - settings to persistprivate static void store(java.util.Properties properties,
java.io.OutputStream out,
java.lang.String comments)
throws java.io.IOException
java.io.IOExceptionprivate static java.lang.String saveConvert(java.lang.String str,
boolean escapeSpace,
boolean escapeUnicode)
private static char toHex(int nibble)
nibble - the nibble to convert.