com.realtime.crossfire.jxclient.skin.source
Interface JXCSkinSource

All Known Implementing Classes:
AbstractJXCSkinSource, JXCSkinClassSource, JXCSkinDirSource

public interface JXCSkinSource

Interface for providers of JXCSkin sources.


Method Summary
 java.io.InputStream getInputStream(java.lang.String name)
          Returns an InputStream for a resource name.
 java.lang.String getURI(java.lang.String name)
          Returns a description of the location of a resource name.
 

Method Detail

getInputStream

@NotNull
java.io.InputStream getInputStream(@NotNull
                                           java.lang.String name)
                                   throws java.io.IOException
Returns an InputStream for a resource name.

Parameters:
name - the resource name
Returns:
the input stream for the resource
Throws:
java.io.IOException - if the resource cannot be loaded

getURI

@NotNull
java.lang.String getURI(@NotNull
                                java.lang.String name)
Returns a description of the location of a resource name.

Parameters:
name - the resource name
Returns:
the description of the resource