public class JXCSkinClassSource extends AbstractJXCSkinSource
JXCSkinSource
that loads via the class loader.Constructor and Description |
---|
JXCSkinClassSource(@NotNull java.lang.String baseName)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.io.InputStream |
getInputStream(@NotNull java.lang.String name)
Returns an
InputStream for a resource name. |
@NotNull java.lang.String |
getURI(@NotNull java.lang.String name)
Returns a description of the location of a resource name.
|
checkAccess
public JXCSkinClassSource(@NotNull @NotNull java.lang.String baseName) throws JXCSkinException
baseName
- the base resource name to prepend to all resource namesJXCSkinException
- if the skin cannot be loaded@NotNull public @NotNull java.io.InputStream getInputStream(@NotNull @NotNull java.lang.String name) throws java.io.IOException
JXCSkinSource
InputStream
for a resource name.name
- the resource namejava.io.IOException
- if the resource cannot be loaded@NotNull public @NotNull java.lang.String getURI(@NotNull @NotNull java.lang.String name)
JXCSkinSource
name
- the resource name