Class 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.String formatColumns​(java.util.List<java.lang.String> lst, int width, int height)  
      static java.nio.file.Path lookupInstallationDir​(org.aesh.readline.AeshContext ctx, java.nio.file.Path install)  
      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)  
      static org.eclipse.aether.RepositorySystem newRepositorySystem()  
      static java.nio.file.Path resolvePath​(org.aesh.readline.AeshContext ctx, java.lang.String path)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Util

        public Util()
    • 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