org.rcsb.openmms.entry
Class FileEntryFoundry
java.lang.Object
|
+--org.rcsb.openmms.entry.EntryFoundry
|
+--org.rcsb.openmms.entry.FileEntryFoundry
- All Implemented Interfaces:
- EntryDirectory
- public class FileEntryFoundry
- extends EntryFoundry
- implements EntryDirectory
Implements the EntryFactory for the MMS Corba reference server.
- Version:
- 1.11
- Author:
- Douglas S. Greer
Method Summary |
boolean |
allVariablesRead()
|
boolean |
cacheValue(EntryImpl ei,
int modType,
int sFlag,
java.lang.Object[] var)
|
protected void |
checkDirectoryInit()
|
EntryImpl |
createEntryImpl(java.lang.String id)
|
static FileEntryFoundry |
createStandAloneFoundry(java.lang.String dp,
java.lang.String manifest,
org.omg.CORBA.ORB orb)
Useful for applications that only wish to parse an mmCIF
datafile and create an EntryImpl |
java.lang.String |
findDataURL(java.lang.String id)
|
java.lang.String[] |
getEntriesInGroup(java.lang.String group)
|
java.lang.String[] |
getEntryGroupList()
|
java.lang.String[] |
getEntryIdList()
|
ModificationDate[] |
getEntryModificationDates()
|
java.lang.Object[] |
getList(EntryImpl ei,
int modType,
int sFlag)
|
java.lang.Object[] |
getListBlock(EntryImpl ei,
int modType,
int sFlag,
int from,
int to)
|
int |
getListSize(EntryImpl ei,
int modType,
int sFlag)
|
byte[] |
getNativeEntryRepresentation(java.lang.String format,
java.lang.String entry_id)
|
java.lang.String[] |
getNativeFormatsSupported()
|
void |
readEntry(EntryImpl ei)
|
void |
readEntryData(EntryImpl ei)
|
static java.lang.String[] |
readManifest(java.lang.String manifest,
java.util.HashSet exclude)
|
void |
setDebug(int d)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileEntryFoundry
public FileEntryFoundry(ServerHandler a,
DataItemList dl,
java.lang.String dpURL,
java.lang.String manfst)
createStandAloneFoundry
public static FileEntryFoundry createStandAloneFoundry(java.lang.String dp,
java.lang.String manifest,
org.omg.CORBA.ORB orb)
- Useful for applications that only wish to parse an mmCIF
datafile and create an EntryImpl
setDebug
public void setDebug(int d)
- Overrides:
setDebug
in class EntryFoundry
allVariablesRead
public boolean allVariablesRead()
- Specified by:
allVariablesRead
in class EntryFoundry
cacheValue
public boolean cacheValue(EntryImpl ei,
int modType,
int sFlag,
java.lang.Object[] var)
- Specified by:
cacheValue
in class EntryFoundry
getList
public java.lang.Object[] getList(EntryImpl ei,
int modType,
int sFlag)
throws DataAccessException
- Specified by:
getList
in class EntryFoundry
DataAccessException
getListSize
public int getListSize(EntryImpl ei,
int modType,
int sFlag)
throws DataAccessException
- Specified by:
getListSize
in class EntryFoundry
DataAccessException
getListBlock
public java.lang.Object[] getListBlock(EntryImpl ei,
int modType,
int sFlag,
int from,
int to)
throws DataAccessException
- Specified by:
getListBlock
in class EntryFoundry
DataAccessException
createEntryImpl
public EntryImpl createEntryImpl(java.lang.String id)
throws DataAccessException
- Specified by:
createEntryImpl
in class EntryFoundry
DataAccessException
readEntryData
public void readEntryData(EntryImpl ei)
throws DataAccessException
- Specified by:
readEntryData
in class EntryFoundry
DataAccessException
findDataURL
public java.lang.String findDataURL(java.lang.String id)
throws DataAccessException
DataAccessException
readEntry
public void readEntry(EntryImpl ei)
throws DataAccessException
DataAccessException
checkDirectoryInit
protected void checkDirectoryInit()
throws DataAccessException
DataAccessException
readManifest
public static java.lang.String[] readManifest(java.lang.String manifest,
java.util.HashSet exclude)
throws java.io.IOException,
java.net.MalformedURLException
java.io.IOException
java.net.MalformedURLException
getEntryIdList
public java.lang.String[] getEntryIdList()
throws DataAccessException
- Specified by:
getEntryIdList
in interface EntryDirectory
DataAccessException
getEntryModificationDates
public ModificationDate[] getEntryModificationDates()
throws DataAccessException
- Specified by:
getEntryModificationDates
in interface EntryDirectory
DataAccessException
getEntryGroupList
public java.lang.String[] getEntryGroupList()
throws DataAccessException
- Specified by:
getEntryGroupList
in interface EntryDirectory
DataAccessException
getEntriesInGroup
public java.lang.String[] getEntriesInGroup(java.lang.String group)
throws DataAccessException
- Specified by:
getEntriesInGroup
in interface EntryDirectory
DataAccessException
getNativeFormatsSupported
public java.lang.String[] getNativeFormatsSupported()
- Specified by:
getNativeFormatsSupported
in interface EntryDirectory
getNativeEntryRepresentation
public byte[] getNativeEntryRepresentation(java.lang.String format,
java.lang.String entry_id)
throws DataAccessException
- Specified by:
getNativeEntryRepresentation
in interface EntryDirectory
DataAccessException
OpenMMS, Copyright 2001, All rights reserved