Class IContextSource.Entry
- java.lang.Object
-
- org.jetbrains.java.decompiler.main.extern.IContextSource.Entry
-
- Enclosing interface:
- IContextSource
public static final class IContextSource.Entry extends java.lang.ObjectAn entry in a context unit, which may be a multirelease variant.
-
-
Field Summary
Fields Modifier and Type Field Description static intBASE_VERSION
-
Constructor Summary
Constructors Constructor Description Entry(java.lang.String basePath, int multirelease)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IContextSource.EntryatBase(java.lang.String path)Create an entry at the base version, without attempting to parse any multirelease information.java.lang.StringbasePath()intmultirelease()static IContextSource.Entryparse(java.lang.String path)Parse an entry from a raw jar path.java.lang.Stringpath()
-
-
-
Field Detail
-
BASE_VERSION
public static final int BASE_VERSION
- See Also:
- Constant Field Values
-
-
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()
-
-