|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--jsutil.compress.JSCStep
A single step in a JavaScript file's compression process.
Source code: JSCStep.java
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
JSCStep(String s_name,
int i_sourceLength,
String s_descHtml)
Create a JSCStep. |
Method Summary | |
int |
getByteSize()
Get the byte-count for this step. |
String |
getDescHtml()
Get the HTML description for this step. |
String |
getName()
Get the name of this JSCStep. |
String |
toString()
Get some information about this JSCStep . |
Methods inherited from class xbn.XBNObject |
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JSCStep(String s_name, int i_sourceLength, String s_descHtml)
Create a JSCStep.
s_name
- The descriptive name for this step. May not be null or zero characters in length. Consider using this as the postfix for outputting each step (before the '.js
'). If you choose to do this, don't put any characters that would be illegal in a file name.i_sourceLength
- The byte-length of the source code. May not be less than 1.s_descHtml
- The HTML description for the original file. May not be null, zero characters in length. It is assumed that this contains no tab, or newline characters. This is only used by the constructor.Method Detail |
public final String getName()
Get the name of this JSCStep.
s_name
, exactly as provided to the constructor.
public final int getByteSize()
Get the byte-count for this step.
i_sourceLength
, exactly as provided to the constructor.
public final String getDescHtml()
Get the HTML description for this step.
s_descHtml
, exactly as provided to the constructor.
public final String toString()
Get some information about this JSCStep
.
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003-2005, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/jsutiljava