Package com.emc.esu.api

Examples of com.emc.esu.api.BufferSegment


     * @throws EsuException if the request fails.
     */
    public ObjectId createObject(Acl acl, MetadataList metadata, byte[] data,
            String mimeType) {
        return createObjectFromSegment(acl, metadata, data == null ? null
                : new BufferSegment(data), mimeType, null);
    }
View Full Code Here


     * @throws EsuException if the request fails.
     */
    public ObjectId createObject(Acl acl, MetadataList metadata, byte[] data,
            String mimeType, Checksum checksum ) {
        return createObjectFromSegment(acl, metadata, data == null ? null
                : new BufferSegment(data), mimeType, checksum);
    }
View Full Code Here

     * @throws EsuException if the request fails.
     */
    public ObjectId createObjectOnPath(ObjectPath path, Acl acl,
            MetadataList metadata, byte[] data, String mimeType) {
        return createObjectFromSegmentOnPath(path, acl, metadata,
                data == null ? null : new BufferSegment(data), mimeType, null);

    }
View Full Code Here

     * @throws EsuException if the request fails.
     */
    public ObjectId createObjectOnPath(ObjectPath path, Acl acl,
            MetadataList metadata, byte[] data, String mimeType, Checksum checksum) {
        return createObjectFromSegmentOnPath(path, acl, metadata,
                data == null ? null : new BufferSegment(data), mimeType, checksum);

    }   
View Full Code Here

     * @throws EsuException if the request fails.
     */
    public void updateObject(Identifier id, Acl acl, MetadataList metadata,
            Extent extent, byte[] data, String mimeType) {
        updateObjectFromSegment(id, acl, metadata, extent, data == null ? null
                : new BufferSegment(data), mimeType, null);
    }
View Full Code Here

     * @throws EsuException if the request fails.
     */
    public void updateObject(Identifier id, Acl acl, MetadataList metadata,
            Extent extent, byte[] data, String mimeType, Checksum checksum ) {
        updateObjectFromSegment(id, acl, metadata, extent, data == null ? null
                : new BufferSegment(data), mimeType, checksum);
    }
View Full Code Here

    @Override
    public ObjectId createObjectWithKey( String keyPool, String key, Acl acl, MetadataList metadata,
                                         byte[] data, long length, String mimeType ) {
        return createObjectWithKeyFromSegment( keyPool, key, acl, metadata,
                                               new BufferSegment( data, 0, (int) length ), mimeType );
    }
View Full Code Here

    @Override
    public ObjectId createObjectWithKey( String keyPool, String key, Acl acl, MetadataList metadata,
                                         byte[] data, long length, String mimeType, Checksum checksum ) {
        return createObjectWithKeyFromSegment( keyPool, key, acl, metadata,
                                               new BufferSegment( data, 0, (int) length ), mimeType, checksum );
    }
View Full Code Here

    }

    @Override
    public void updateObjectWithKey( String keyPool, String key, Acl acl, MetadataList metadata,
                                     Extent extent, byte[] data, String mimeType ) {
        updateObjectWithKeyFromSegment( keyPool, key, acl, metadata, extent, new BufferSegment( data ), mimeType );
    }
View Full Code Here

    @Override
    public void updateObjectWithKey( String keyPool, String key, Acl acl, MetadataList metadata,
                                     Extent extent, byte[] data, String mimeType, Checksum checksum ) {
        updateObjectWithKeyFromSegment( keyPool, key, acl, metadata, extent,
                                        new BufferSegment( data ), mimeType, checksum );
    }
View Full Code Here

TOP

Related Classes of com.emc.esu.api.BufferSegment

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.