org.rhq.common.drift
Class ChangeSetWriterImpl
java.lang.Object
org.rhq.common.drift.ChangeSetWriterImpl
- All Implemented Interfaces:
- ChangeSetWriter
public class ChangeSetWriterImpl
- extends Object
- implements ChangeSetWriter
Note that this implementation does not do any validation. It assumes that each file entry
contains valid, 64 character SHA-256 hashes. it also assumes paths are not null and that
directory entry paths are in relative paths.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangeSetWriterImpl
public ChangeSetWriterImpl(File changeSetFile,
Headers headers)
throws IOException
- Throws:
IOException
write
public void write(FileEntry entry)
throws IOException
- Specified by:
write in interface ChangeSetWriter
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface ChangeSetWriter
- Throws:
IOException
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.