|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.entityfs.cap.metadata.impl.MetadataImplUtil
public final class MetadataImplUtil
Utility class with static utility methods for metadata capability implementations.
Method Summary | |
---|---|
static void |
copyAllMetadata(MetadataEnablingEntityDelegate source,
MetadataEnablingEntityDelegate dest)
Copy all metadata from the source entity delegate to the dest entity delegate. |
static Set<EntityImplementation> |
copyMetadataToFiles(MetadataEnablingEntityDelegate ecn,
DirectoryImplementation targetDir,
String filePrefix)
Copy all metadata to files in the supplied directory. |
static void |
replaceTargetMetadataFilesWithFilesFromThisDelegate(MetadataEnablingEntityDelegate d,
EntityImplementation target,
int bufSize)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void copyAllMetadata(MetadataEnablingEntityDelegate source, MetadataEnablingEntityDelegate dest)
source
entity delegate to the dest
entity delegate.
source
- The source entity delegate.dest
- The destination entity delegate.public static Set<EntityImplementation> copyMetadataToFiles(MetadataEnablingEntityDelegate ecn, DirectoryImplementation targetDir, String filePrefix) throws WrappedIOException
ecn
- The metadata collection object.targetDir
- The target directory. Must be locked for writing.filePrefix
- The prefix to use for the names of the created files.
WrappedIOException
- On I/O errors.public static void replaceTargetMetadataFilesWithFilesFromThisDelegate(MetadataEnablingEntityDelegate d, EntityImplementation target, int bufSize)
d
- target
- Must support the ECTNamedMetadata
capability type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |