|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticdesktop.aperture.util.DataSourceClassGenerator
public class DataSourceClassGenerator
A simple generator for the DataSource convenience classes
| Field Summary | |
|---|---|
static String[] |
JAVA_RESERVED_WORDS
Array of java reserved words |
static Set<String> |
JAVA_RESERVED_WORDS_SET
Set of java reserved words |
| Constructor Summary | |
|---|---|
DataSourceClassGenerator()
constructor |
|
| Method Summary | |
|---|---|
protected String |
asLegalJavaID(String s,
boolean cap)
Convert s to a legal Java identifier; capitalise first char if cap is true this method is copied from jena code. |
void |
go(String[] args)
Does the job. |
static void |
main(String[] args)
documentation see class, above. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String[] JAVA_RESERVED_WORDS
public static final Set<String> JAVA_RESERVED_WORDS_SET
| Constructor Detail |
|---|
public DataSourceClassGenerator()
| Method Detail |
|---|
public void go(String[] args)
throws Exception
args - command line arguments
Exception - if something goes wrong
public static void main(String[] args)
throws Exception
args - command line arguments
Exception - if something goes wrong
protected String asLegalJavaID(String s,
boolean cap)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||