@ApiStatus.Internal public class ResourceEntryImpl extends java.lang.Object implements ResourceEntry
| Constructor and Description |
|---|
ResourceEntryImpl(java.lang.String name,
boolean directory,
java.lang.String scheme,
java.lang.String path,
java.lang.Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
@NotNull java.lang.String |
getName()
名前取得
|
@NotNull java.lang.String |
getScheme() |
int |
hashCode() |
boolean |
isDirectory()
ディレクトリかどうか取得
|
java.io.InputStream |
openInputStream()
リソースのストリームを取得
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitisInJarpublic ResourceEntryImpl(java.lang.String name,
boolean directory,
java.lang.String scheme,
java.lang.String path,
java.lang.Class<?> clazz)
@NotNull public @NotNull java.lang.String getName()
ResourceEntrygetName in interface ResourceEntry@NotNull public @NotNull java.lang.String getScheme()
getScheme in interface ResourceEntrypublic boolean isDirectory()
ResourceEntryisDirectory in interface ResourceEntrypublic java.io.InputStream openInputStream()
ResourceEntryopenInputStream in interface ResourceEntrypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object