public class SwiftTemplate extends java.lang.Object implements java.io.Closeable
Constructor and Description |
---|
SwiftTemplate() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete(java.lang.String objectName) |
org.jclouds.openstack.swift.v1.domain.SwiftObject |
get(java.lang.String objectName) |
java.lang.String |
put(java.lang.String objectName,
org.jclouds.io.Payload payload) |
SignedURL |
signURL(org.jclouds.openstack.swift.v1.domain.SwiftObject object) |
void |
update(java.lang.String objectName,
java.util.Map<java.lang.String,java.lang.String> metadata) |
public SwiftTemplate()
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public org.jclouds.openstack.swift.v1.domain.SwiftObject get(java.lang.String objectName)
objectName
- public void delete(java.lang.String objectName)
objectName
- public java.lang.String put(java.lang.String objectName, org.jclouds.io.Payload payload)
objectName
- payload
- public SignedURL signURL(org.jclouds.openstack.swift.v1.domain.SwiftObject object)
object
- public void update(java.lang.String objectName, java.util.Map<java.lang.String,java.lang.String> metadata)
objectName
- metadata
- Copyright © 2015-2018 Tampere University of Technology, Pori Department.