class SwiftSegmentService {

    public Checksum checksum(final ChecksumCompute checksum, final List<StorageObject> objects) throws ChecksumException {
        final StringBuilder concatenated = new StringBuilder();
        for(StorageObject s : objects) {
            concatenated.append(s.getMd5sum());
        }
        return checksum.compute(IOUtils.toInputStream(concatenated.toString(), Charset.defaultCharset()), new TransferStatus());
    }

    public  SwiftSegmentService(final SwiftSession session);
    public  SwiftSegmentService(final SwiftSession session, final String prefix);
    public  SwiftSegmentService(final SwiftSession session, final SwiftRegionService regionService);
    public  SwiftSegmentService(final SwiftSession session, final SwiftRegionService regionService, final String prefix);

}