public class PathReference
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PathReference.ResolveFunction |
Modifier and Type | Field and Description |
---|---|
static NullableFunction<PathReference,javax.swing.Icon> |
NULL_ICON |
Constructor and Description |
---|
PathReference(java.lang.String path,
Function<? super PathReference,? extends javax.swing.Icon> icon) |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon() |
java.lang.String |
getPath() |
java.lang.String |
getTrimmedPath() |
PsiElement |
resolve() |
static java.lang.String |
trimPath(java.lang.String url) |
public static final NullableFunction<PathReference,javax.swing.Icon> NULL_ICON
public PathReference(java.lang.String path, Function<? super PathReference,? extends javax.swing.Icon> icon)
public java.lang.String getPath()
public java.lang.String getTrimmedPath()
public javax.swing.Icon getIcon()
public PsiElement resolve()
public static java.lang.String trimPath(java.lang.String url)