Package hec.heclib.dss
Interface IHecDSSUtilities
- All Known Implementing Classes:
HecDSSUtilities
public interface IHecDSSUtilities
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
int
boolean
int
int
void
void
void
void
close()
int
int
copyRecordsFrom
(String toDSSFilename, List<String> pathnameList) copyRecordsFrom copies from HecDSSUtilities instance to the toDSSFilenameint
copyRecordsInto
(String fromDSSFilename, List<String> pathnameList) int
createNewCatalog
(int catalogType) default int
int
void
done()
void
dss_zquery
(String parameter, stringContainer alpha, int[] numb) void
int
duplicateRecords
(List<String> pathnameList, List<String> newPathnameList) boolean
boolean
int
int
getCatalogName
(int catalogType) int
String[]
getPathnameList
(boolean forceUpdate) void
getProcessStatus
(int[] numberRecs, int[] currentRec) boolean
getTimeSeriesExtents
(String pathname, HecTime start, HecTime end) int
getTSRecordInfo
(String pathname, HecTime start, HecTime end, stringContainer units, stringContainer type) boolean
nextTimeSeriesPathname
(String lastPathname) int
int
open()
short[]
readRawShorts
(String pathname) boolean
recordExists
(String pathname) int
recordType
(String pathname) recordTypes
(String[] pathnames) int
renameRecords
(List<String> pathnameList, List<String> newPathnameList) int
searchDSSCatalog
(String scanString, List<String> pathnameList) int
searchDSSPaths
(String scanString, List<String> pathnameList) int
setDSSFileName
(String fname) int
setDSSFileName
(String dssFileName, boolean fileMustExist, int version) void
setForceNewCatalog
(boolean b) void
setInterrupt
(boolean interrupt) int
setPathname
(String pathname) int
squeeze()
int
int
boolean
int
void
zinqir
(String parameter, stringContainer alpha, int[] numb)
-
Field Details
-
STATUS_OKAY
static final int STATUS_OKAY- See Also:
-
-
Method Details
-
fileStats
int fileStats() -
setDSSFileName
-
setDSSFileName
-
delete
-
delete
-
undelete
-
undoLastDelete
int undoLastDelete() -
copyRecordsInto
-
copyRecordsFrom
copyRecordsFrom copies from HecDSSUtilities instance to the toDSSFilename- Parameters:
toDSSFilename
- destination of recordspathnameList
- list of paths to copy- Returns:
- returns the number of records copied.
-
copyFile
-
getLastDeletePathnames
-
duplicateRecords
-
renameRecords
-
squeeze
int squeeze() -
cancelProcess
void cancelProcess() -
getCondensedCatalog
List<CondensedReference> getCondensedCatalog() -
getDssFileVersion
int getDssFileVersion() -
setForceNewCatalog
void setForceNewCatalog(boolean b) -
checkForSevereDssError
boolean checkForSevereDssError() -
checkForError
int checkForError() -
createNewCatalog
int createNewCatalog(int catalogType) -
recordExists
-
isCatalogValid
boolean isCatalogValid() -
done
void done() -
clearSevereError
void clearSevereError() -
clearError
void clearError() -
lastSevereErrorMessage
DSSErrorMessage lastSevereErrorMessage() -
allSevereErrorMessages
List<DSSErrorMessage> allSevereErrorMessages() -
cancelSqueeze
int cancelSqueeze() -
getProcessStatus
void getProcessStatus(int[] numberRecs, int[] currentRec) -
setInterrupt
void setInterrupt(boolean interrupt) -
clearStatus
void clearStatus() -
close
void close() -
checkAllPathnames
int checkAllPathnames() -
checkLinks
int checkLinks() -
checkPathnameBins
int checkPathnameBins() -
DSSFileName
String DSSFileName() -
fileOpened
boolean fileOpened() -
open
int open() -
fileAccessible
boolean fileAccessible() -
setPathname
-
getTSRecordInfo
int getTSRecordInfo(String pathname, HecTime start, HecTime end, stringContainer units, stringContainer type) -
getTimeSeriesExtents
-
numberRecords
int numberRecords() -
readRawShorts
-
recordType
-
recordTypes
-
getPathnameList
-
searchDSSCatalog
-
searchDSSPaths
-
forceMultiUserAccess
int forceMultiUserAccess() -
writeAccess
boolean writeAccess() -
zinqir
-
zinqir
-
dss_zset
-
dss_zquery
-
getCatalogName
-
nextTimeSeriesPathname
-