|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectptolemy.copernicus.c.Utilities
public class Utilities
This class provides basic utilities used across a variety of classes.
| Red (ssb) |
| Red (ankush) |
| Constructor Summary | |
|---|---|
Utilities()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
comment(java.lang.String text)
Enclose a given string of text within appropriate delimiters to form a comment in the generated code. |
static java.lang.String |
indent(int level)
Return a string that generates an indentation string (a sequence of spaces) for the given indentation level. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utilities()
| Method Detail |
|---|
public static java.lang.String comment(java.lang.String text)
text - The text to place in the generated comment.
public static java.lang.String indent(int level)
level - The indentation level.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||