Package org.jboss.galleon.cli
Class Util
- java.lang.Object
-
- org.jboss.galleon.cli.Util
-
public class Util extends java.lang.Object- Author:
- Alexey Loubyansky
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringformatColumns(java.util.List<java.lang.String> lst, int width, int height)static java.nio.file.PathlookupInstallationDir(org.aesh.readline.AeshContext ctx, java.nio.file.Path install)static org.eclipse.aether.RepositorySystemSessionnewRepositorySession(org.eclipse.aether.RepositorySystem repoSystem, java.nio.file.Path path, org.eclipse.aether.RepositoryListener listener, org.eclipse.aether.repository.ProxySelector proxySelector, boolean offline)static org.eclipse.aether.RepositorySystemnewRepositorySystem()static java.nio.file.PathresolvePath(org.aesh.readline.AeshContext ctx, java.lang.String path)
-
-
-
Method Detail
-
newRepositorySession
public static org.eclipse.aether.RepositorySystemSession newRepositorySession(org.eclipse.aether.RepositorySystem repoSystem, java.nio.file.Path path, org.eclipse.aether.RepositoryListener listener, org.eclipse.aether.repository.ProxySelector proxySelector, boolean offline)
-
newRepositorySystem
public static org.eclipse.aether.RepositorySystem newRepositorySystem()
-
formatColumns
public static java.lang.String formatColumns(java.util.List<java.lang.String> lst, int width, int height)
-
resolvePath
public static java.nio.file.Path resolvePath(org.aesh.readline.AeshContext ctx, java.lang.String path) throws java.io.IOException- Throws:
java.io.IOException
-
lookupInstallationDir
public static java.nio.file.Path lookupInstallationDir(org.aesh.readline.AeshContext ctx, java.nio.file.Path install) throws org.jboss.galleon.ProvisioningException- Throws:
org.jboss.galleon.ProvisioningException
-
-