Package com.cosylab.vdct.db
Class DBResolver
- java.lang.Object
-
- com.cosylab.vdct.db.DBResolver
-
public class DBResolver extends Object
This type was created in VisualAge.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DBResolver()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnhancedStreamTokenizer
getEnhancedStreamTokenizer(InputStream is)
This method was created in VisualAge.static EnhancedStreamTokenizer
getEnhancedStreamTokenizer(String fileName)
This method was created in VisualAge.static void
initializeTokenizer(EnhancedStreamTokenizer tokenizer)
This method was created in VisualAge.static String
processComment(Object dsId, DBData data, EnhancedStreamTokenizer tokenizer, String fileName)
VisualDCT layout data is also processed herestatic void
processDB(Object dsId, DBData data, EnhancedStreamTokenizer tokenizer, String fileName, PathSpecification paths, Stack loadStack, ArrayList loadList)
This method was created in VisualAge.static void
processFields(Object dsId, DBRecordData rd, EnhancedStreamTokenizer tokenizer, String fileName, PathSpecification paths)
This method was created in VisualAge.static void
processMacros(Object dsId, DBTemplateInstance templateInstance, EnhancedStreamTokenizer tokenizer, String fileName, PathSpecification paths)
This method was created in VisualAge.static void
processPorts(DBTemplate template, EnhancedStreamTokenizer tokenizer, String fileName, PathSpecification paths)
This method was created in VisualAge.static String
processTemplateComment(DBTemplate template, EnhancedStreamTokenizer tokenizer, String fileName)
VisualDCT layout data is also processed herestatic void
readVdctData(Object dsId, DBData data, String vdctData, String source)
static DBData
resolveDB(Object dsId, InputStream is)
This method was created in VisualAge.static DBData
resolveDB(Object dsId, InputStream is, Stack loadStack, ArrayList loadList)
This method was created in VisualAge.static DBData
resolveDB(Object dsId, String fileName)
This method was created in VisualAge.static DBData
resolveDB(Object dsId, String fileName, Stack loadStack, ArrayList loadList)
This method was created in VisualAge.static DBData
resolveDBasURL(URL url)
This method was created in VisualAge.static String[]
resolveIncodedDBDs(String fileName)
This method was created in VisualAge.static void
skipLines(int linesToSkip, EnhancedStreamTokenizer tokenizer, String fileName)
VisualDCT layout data is also processed here
-
-
-
Field Detail
-
FIELD
public static final String FIELD
- See Also:
- Constant Field Values
-
RECORD
public static final String RECORD
- See Also:
- Constant Field Values
-
GRECORD
public static final String GRECORD
- See Also:
- Constant Field Values
-
INCLUDE
public static final String INCLUDE
- See Also:
- Constant Field Values
-
INFO
public static final String INFO
- See Also:
- Constant Field Values
-
PATH
public static final String PATH
- See Also:
- Constant Field Values
-
ADDPATH
public static final String ADDPATH
- See Also:
- Constant Field Values
-
TEMPLATE
public static final String TEMPLATE
- See Also:
- Constant Field Values
-
PORT
public static final String PORT
- See Also:
- Constant Field Values
-
EXPAND
public static final String EXPAND
- See Also:
- Constant Field Values
-
MACRO
public static final String MACRO
- See Also:
- Constant Field Values
-
VDCTSKIP
public static final String VDCTSKIP
- See Also:
- Constant Field Values
-
VDCTVIEW
public static final String VDCTVIEW
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_VIEW
public static final String VDCTSPREADSHEET_VIEW
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_COL
public static final String VDCTSPREADSHEET_COL
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_COLUMNORDER
public static final String VDCTSPREADSHEET_COLUMNORDER
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_SHOWALLROWS
public static final String VDCTSPREADSHEET_SHOWALLROWS
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_GROUPCOLUMNSBYGUIGROUP
public static final String VDCTSPREADSHEET_GROUPCOLUMNSBYGUIGROUP
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_BACKGROUNDCOLOR
public static final String VDCTSPREADSHEET_BACKGROUNDCOLOR
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_COLUMN
public static final String VDCTSPREADSHEET_COLUMN
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_WIDTH
public static final String VDCTSPREADSHEET_WIDTH
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_HIDDENROW
public static final String VDCTSPREADSHEET_HIDDENROW
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_ROWORDER
public static final String VDCTSPREADSHEET_ROWORDER
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_SPLITCOLUMN
public static final String VDCTSPREADSHEET_SPLITCOLUMN
- See Also:
- Constant Field Values
-
VDCTSPREADSHEET_RECENTSPLIT
public static final String VDCTSPREADSHEET_RECENTSPLIT
- See Also:
- Constant Field Values
-
VDCTRECORD
public static final String VDCTRECORD
- See Also:
- Constant Field Values
-
VDCTGROUP
public static final String VDCTGROUP
- See Also:
- Constant Field Values
-
VDCTFIELD
public static final String VDCTFIELD
- See Also:
- Constant Field Values
-
VDCTLINK
public static final String VDCTLINK
- See Also:
- Constant Field Values
-
VDCTVISIBILITY
public static final String VDCTVISIBILITY
- See Also:
- Constant Field Values
-
VDCTCONNECTOR
public static final String VDCTCONNECTOR
- See Also:
- Constant Field Values
-
VDCT_CONSTANT_PORT
public static final String VDCT_CONSTANT_PORT
- See Also:
- Constant Field Values
-
VDCT_INPUT_PORT
public static final String VDCT_INPUT_PORT
- See Also:
- Constant Field Values
-
VDCT_OUTPUT_PORT
public static final String VDCT_OUTPUT_PORT
- See Also:
- Constant Field Values
-
VDCT_INPUT_MACRO
public static final String VDCT_INPUT_MACRO
- See Also:
- Constant Field Values
-
VDCT_OUTPUT_MACRO
public static final String VDCT_OUTPUT_MACRO
- See Also:
- Constant Field Values
-
VDCTLINE
public static final String VDCTLINE
- See Also:
- Constant Field Values
-
VDCTBOX
public static final String VDCTBOX
- See Also:
- Constant Field Values
-
VDCTTEXTBOX
public static final String VDCTTEXTBOX
- See Also:
- Constant Field Values
-
DBD_START
public static final String DBD_START
- See Also:
- Constant Field Values
-
DBD_ENTRY
public static final String DBD_ENTRY
- See Also:
- Constant Field Values
-
DBD_END
public static final String DBD_END
- See Also:
- Constant Field Values
-
TEMPLATE_INSTANCE
public static final String TEMPLATE_INSTANCE
- See Also:
- Constant Field Values
-
TEMPLATE_FIELD
public static final String TEMPLATE_FIELD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEnhancedStreamTokenizer
public static EnhancedStreamTokenizer getEnhancedStreamTokenizer(String fileName)
This method was created in VisualAge.- Parameters:
fileName
- java.lang.String- Returns:
- java.io.EnhancedStreamTokenizer
-
getEnhancedStreamTokenizer
public static EnhancedStreamTokenizer getEnhancedStreamTokenizer(InputStream is)
This method was created in VisualAge.- Parameters:
is
- is- Returns:
- java.io.EnhancedStreamTokenizer
-
initializeTokenizer
public static void initializeTokenizer(EnhancedStreamTokenizer tokenizer)
This method was created in VisualAge.- Parameters:
tokenizer
- java.io.EnhancedStreamTokenizer
-
processComment
public static String processComment(Object dsId, DBData data, EnhancedStreamTokenizer tokenizer, String fileName) throws Exception
VisualDCT layout data is also processed here- Parameters:
dsId
- dsIddata
- com.cosylab.vdct.db.DBDatatokenizer
- java.io.EnhancedStreamTokenizerfileName
- fileName- Returns:
- something
- Throws:
Exception
- foo
-
processTemplateComment
public static String processTemplateComment(DBTemplate template, EnhancedStreamTokenizer tokenizer, String fileName) throws Exception
VisualDCT layout data is also processed here- Parameters:
template
- templatetokenizer
- java.io.EnhancedStreamTokenizerfileName
- fileName- Returns:
- something
- Throws:
Exception
- foo
-
skipLines
public static void skipLines(int linesToSkip, EnhancedStreamTokenizer tokenizer, String fileName) throws Exception
VisualDCT layout data is also processed here- Parameters:
linesToSkip
- linesToSkiptokenizer
- java.io.EnhancedStreamTokenizerfileName
- fileName- Throws:
Exception
- foo
-
readVdctData
public static void readVdctData(Object dsId, DBData data, String vdctData, String source)
- Parameters:
dsId
- dsIddata
- datavdctData
- vdctDatasource
- source
-
processDB
public static void processDB(Object dsId, DBData data, EnhancedStreamTokenizer tokenizer, String fileName, PathSpecification paths, Stack loadStack, ArrayList loadList) throws Exception
This method was created in VisualAge.- Parameters:
dsId
- dsIddata
- com.cosylab.vdct.db.DBDatatokenizer
- java.io.EnhancedStreamTokenizerloadStack
- loadStackpaths
- pathsfileName
- fileNameloadList
- loadList- Throws:
Exception
- foo
-
processMacros
public static void processMacros(Object dsId, DBTemplateInstance templateInstance, EnhancedStreamTokenizer tokenizer, String fileName, PathSpecification paths) throws Exception
This method was created in VisualAge.- Parameters:
dsId
- dsIdtemplateInstance
- templateInstancetokenizer
- java.io.EnhancedStreamTokenizerfileName
- fileNamepaths
- paths- Throws:
Exception
- The exception description.
-
processPorts
public static void processPorts(DBTemplate template, EnhancedStreamTokenizer tokenizer, String fileName, PathSpecification paths) throws Exception
This method was created in VisualAge.- Parameters:
template
- templatetokenizer
- java.io.EnhancedStreamTokenizerfileName
- fileNamepaths
- paths- Throws:
Exception
- The exception description.
-
processFields
public static void processFields(Object dsId, DBRecordData rd, EnhancedStreamTokenizer tokenizer, String fileName, PathSpecification paths) throws Exception
This method was created in VisualAge.- Parameters:
dsId
- dsIdrd
- com.cosylab.vdct.db.DBRecordDatatokenizer
- java.io.EnhancedStreamTokenizerfileName
- fileNamepaths
- paths- Throws:
Exception
- The exception description.
-
resolveIncodedDBDs
public static String[] resolveIncodedDBDs(String fileName) throws IOException
This method was created in VisualAge.- Parameters:
fileName
- java.lang.String- Returns:
- Vector
- Throws:
IOException
- foo
-
resolveDB
public static DBData resolveDB(Object dsId, String fileName, Stack loadStack, ArrayList loadList)
This method was created in VisualAge.- Parameters:
dsId
- dsIdloadList
- loadListloadStack
- loadStackfileName
- java.lang.String- Returns:
- Vector
-
resolveDB
public static DBData resolveDB(Object dsId, InputStream is, Stack loadStack, ArrayList loadList)
This method was created in VisualAge.- Parameters:
dsId
- dsIdis
- isloadList
- loadListloadStack
- loadStack- Returns:
- Vector
-
resolveDB
public static DBData resolveDB(Object dsId, String fileName) throws Exception
This method was created in VisualAge.- Parameters:
dsId
- dsIdfileName
- java.lang.String- Returns:
- Vector
- Throws:
Exception
- foo
-
resolveDB
public static DBData resolveDB(Object dsId, InputStream is) throws Exception
This method was created in VisualAge.- Parameters:
dsId
- dsIdis
- is- Returns:
- Vector
- Throws:
Exception
- foo
-
-