| PREV CLASS
NEXT CLASS
|
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
sun.javadb.vti.example
Class PropertiesTableFunction
java.lang.Object
sun.javadb.vti.core.TemplateTableFunction
sun.javadb.vti.core.StringColumnTableFunction
sun.javadb.vti.example.PropertiesTableFunction
- All Implemented Interfaces:
- ResultSet, Wrapper
-
public class
PropertiesTableFunction<dt>extends
StringColumnTableFunction</dl>
This Table Function makes a table out of a Java properties file.
| Methods inherited from class sun.javadb.vti.core. StringColumnTableFunction |
findColumn, getAsciiStream, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getClob, getColumnCount, getColumnNames, getDate, getDouble, getFloat, getInt, getLong, getShort, getString, getTime, getTimestamp, wasNull, wrap, wrap |
| Methods inherited from class sun.javadb.vti.core. TemplateTableFunction |
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, deleteRow, first, getArray, getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getCharacterStream, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDouble, getFetchDirection, getFetchSize, getFloat, getHoldability, getInt, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getShort, getSQLXML, getSQLXML, getStatement, getString, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, unwrap, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp |
| Methods inherited from class java.lang. Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COLUMN_NAMES
private static final
String[]
COLUMN_NAMES
-
_properties
private
Properties
_properties
-
_keys
private
Enumeration
_keys
-
_row
private
String[]
_row
-
PropertiesTableFunction
public
PropertiesTableFunction(
String fileName)
throws
SQLException
-
Load the properties.
- Throws:
-
SQLException
properties
public static
ResultSet
properties(
String fileName)
throws
SQLException
-
- Throws:
-
SQLException
getRawColumn
protected
String
getRawColumn(int columnNumber)
throws
SQLException
-
Get the string value of the column in the current row identified by the 1-based columnNumber.
-
- Specified by:
-
getRawColumn in class StringColumnTableFunction
-
- Throws:
-
SQLException
next
public boolean
next()
throws
SQLException
-
- Throws:
-
SQLException
close
public void
close()
-
|