Class ArchivePaths


  • public final class ArchivePaths
    extends java.lang.Object
    A Factory for ArchivePath creation. Instances using this shorthand class will be created using the ClassLoader associated with the default Domain's Configuration.
    • Field Detail

      • archivePathImplClass

        private static final java.lang.Class<?> archivePathImplClass
    • Constructor Detail

      • ArchivePaths

        private ArchivePaths()
        No instantiation
    • Method Detail

      • root

        public static ArchivePath root()
        Creates a new ArchivePath representing the root path (/).
        Returns:
        a new root path
      • create

        public static ArchivePath create​(java.lang.String context)
        Creates a new ArchivePath with the specified context
        Parameters:
        context - The context which this path represents. Null or blank represents the root. Relative paths will be adjusted to absolute form.
        Returns:
        a new path
      • create

        public static ArchivePath create​(java.lang.String basePath,
                                         java.lang.String context)
        Creates a new ArchivePath using the specified base and specified relative context.
        Parameters:
        basePath - A absolute path
        context - A relative path to basePath
        Returns:
        a new path
      • create

        public static ArchivePath create​(java.lang.String basePath,
                                         ArchivePath context)
        Creates a new ArchivePath using the specified base and specified relative context.
        Parameters:
        basePath - A absolute path
        context - A relative path to basePath
        Returns:
        a new path
      • create

        public static ArchivePath create​(ArchivePath basePath,
                                         java.lang.String context)
        Creates a new ArchivePath using the specified base and specified relative context.
        Parameters:
        basePath - A absolute path
        context - A relative path to basePath
        Returns:
        a new path
      • create

        public static ArchivePath create​(ArchivePath basePath,
                                         ArchivePath context)
        Creates a new ArchivePath using the specified base and specified relative context.
        Parameters:
        basePath - A absolute path
        context - A relative path to basePath
        Returns:
        a new path
      • createInstance

        private static ArchivePath createInstance​(java.lang.Class<?>[] argumentTypes,
                                                  java.lang.Object[] arguments)