|
Cramfull Compiled Resources v2.00 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--be.arci.cramfull.CompilerEntry
Definition of a resource file to be encoded by a ClassCompiler. A CompilerEntry contains a path to the resource file, a name for the resource, and the name of the Encoder subclass to encode that resource with. CompilerEntry is the interface between the ClassCompiler and user-written resource compilers like the be.arci.pub.ResourceCompiler example.
ClassCompiler,
ResourceCompiler| Constructor Summary | |
CompilerEntry(java.io.File flPath,
java.lang.String sEncoder)
Creates a CompilerEntry for the resource at flPath, with as resource name flPath.getPath(). |
|
CompilerEntry(java.io.File flPath,
java.lang.String sResourceName,
java.lang.String sEncoder)
Creates a CompilerEntry for the resource at flPath. |
|
CompilerEntry(java.lang.String sBaseName,
java.io.File flPath,
java.lang.String sEncoder)
Creates a CompilerEntry for the resource at flPath, with as resource name sBaseName + flPath.getPath(). |
|
| Method Summary | |
java.io.File |
getCanonicalPath()
Returns the canonical form of the file path to the resource defined by this CompilerEntry. |
java.lang.String |
getEncoder()
Returns the Encoder for the resource defined by this CompilerEntry. |
java.lang.String |
getResourceName()
Returns the resource name of the resource defined by this CompilerEntry. |
java.lang.String |
toString()
Returns a String representation of this CompilerEntry containing the canonical form of the file path to the resource defined by this CompilerEntry, it's resource name, and the class name of the Encoder subclass. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public CompilerEntry(java.io.File flPath,
java.lang.String sEncoder)
flPath - the path to the resourcesEncoder - qualified class name of the Encoder for the resourceCompilerEntry(File flPath, String sResourceName, String sEncoder)
public CompilerEntry(java.lang.String sBaseName,
java.io.File flPath,
java.lang.String sEncoder)
sBaseName - path prefix to the resource name, ending in a File.separatorCharflPath - the path to the resourcesEncoder - qualified class name of the Encoder for the resourceCompilerEntry(File flPath, String sResourceName, String sEncoder)
public CompilerEntry(java.io.File flPath,
java.lang.String sResourceName,
java.lang.String sEncoder)
flPath - the path to the resourcesResourceName - name for the resource; in the compiled Cramfull subclass this name
will be replaced by the equal-length suffix of the canonical form of the file path to
the resource, with the separator char (File.separatorChar) replaced by '/'.sEncoder - qualified class name of the Encoder for the resource| Method Detail |
public java.io.File getCanonicalPath()
public java.lang.String getResourceName()
public java.lang.String getEncoder()
public java.lang.String toString()
|
Cramfull Compiled Resources v2.00 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||