AnyString
182183184185186187188
* @param value Value * @return Instance of Any to where the value was wrapped. */ public Any setGlobal(String name, String value) { return _globals.setVariable(name, new AnyString(value)); }
196197198199200201202203204205206
} case Types.BLOB: Blob blob = set.getBlob(field); if (blob != null) { return new AnyString(new String(blob.getBytes(0, (int)blob.length()))); } else { return Any.NULL; } case Types.CLOB:
388389390391392393394395396397398
} case Types.BLOB: Blob blob = stmt.getBlob(field); if (blob != null) { return new AnyString(new String(blob.getBytes(0, (int)blob.length()))); } else { return Any.NULL; } case Types.CLOB:
177178179180181182183184185186
/// @throws IOError If an I/O error occurs. public Any m_readLine(Context context) { try { String buffer = _input.readLine(); return (buffer == null) ? NULL : new AnyString(buffer); } catch (IOException e) { throw context.exception(e); } }
144145146147148149150151152153
String name; for(int i=1; i<=n; i++) { value = SQLUtil.getField(_resultSet, metadata, i); name = metadata.getColumnName(i); if (name != null) { row.put(new AnyString(name), value); } } return row; }
218219220221222223224
/// @method getName /// Returns the name of file pointed by this File instance. /// @synopsis string getName() public Any m_getName() { return new AnyString(_file.getName()); }
227228229230231232233
/// @method getParent /// Returns the path of parent file pointed by this File instance. /// @synopsis string getParent() public Any m_getParent() { return new AnyString(_file.getParent()); }
245246247248249250251
/// @method getPath /// Returns the path of file pointed by this File instance. /// @synopsis string getPath() public Any m_getPath() { return new AnyString(_file.getPath()); }
263264265266267268269
/// @method getAbsolutePath /// Returns the absolute path. /// @synopsis string getAbsolutePath() public Any m_getAbsolutePath() { return new AnyString(_file.getAbsolutePath()); }
282283284285286287288289290291
/// Returns the canonical path. /// @synopsis string getCanonicalPath() public Any m_getCanonicalPath(Context context) { try { return new AnyString(_file.getCanonicalPath()); } catch (IOException e) { throw context.exception(e); } }