org.xiruss.repository.client.importers
Class BosMemberFactory
java.lang.Object
org.xiruss.repository.client.importers.BosMemberFactory
public class BosMemberFactory
- extends java.lang.Object
Manages the instantiation of new BosMembers. Provides an integration and
configuration point for mapping input file data types to specialized BOS
members, e.g., mapping .xml files to XmlBosMembers.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COM_INNODATA_XIRRUS_BOS_MIMETYPE2CLASSSMAP
public static final java.lang.String COM_INNODATA_XIRRUS_BOS_MIMETYPE2CLASSSMAP
- See Also:
- Constant Field Values
logger
static org.apache.log4j.Logger logger
BosMemberFactory
public BosMemberFactory()
createBosMember
public static BosMember createBosMember(BoundedObjectSet bos,
java.lang.String memberKey,
java.io.File memberFile,
java.lang.String memberName)
throws BosException,
ImporterException
- Constructs a new BOS Member instance based on the details of the member object.
- Parameters:
memberKey - memberObj - memberName -
- Returns:
-
- Throws:
BosException
ImporterException
createBosMember
public static BosMember createBosMember(BoundedObjectSet bos,
java.lang.String memberKey,
Resource existingResource,
java.lang.String memberName,
Snapshot snapshot)
throws BosException
- Parameters:
set - memberKey - existingResource - memberName -
- Returns:
-
- Throws:
BosException