Class IContextSource.Entry

  • Enclosing interface:
    IContextSource

    public static final class IContextSource.Entry
    extends java.lang.Object
    An entry in a context unit, which may be a multirelease variant.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BASE_VERSION  
    • Constructor Summary

      Constructors 
      Constructor Description
      Entry​(java.lang.String basePath, int multirelease)  
    • Constructor Detail

      • Entry

        public Entry​(java.lang.String basePath,
                     int multirelease)
    • Method Detail

      • parse

        public static IContextSource.Entry parse​(java.lang.String path)
        Parse an entry from a raw jar path.
        Parameters:
        path - the path to parse
        Returns:
        an entry, which may indicate a multirelease resource
      • atBase

        public static IContextSource.Entry atBase​(java.lang.String path)
        Create an entry at the base version, without attempting to parse any multirelease information.
        Parameters:
        path - the path to test
        Returns:
        a new entry
      • basePath

        public java.lang.String basePath()
      • multirelease

        public int multirelease()
      • path

        public java.lang.String path()