|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.openstack.swift.utils.ETagUtils
public class ETagUtils
| Constructor Summary | |
|---|---|
ETagUtils()
|
|
| Method Summary | |
|---|---|
static byte[] |
convertHexETagToByteArray(String hexETag)
Converts the ETag of an OpenStack object to a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ETagUtils()
| Method Detail |
|---|
public static byte[] convertHexETagToByteArray(String hexETag)
Converts the ETag of an OpenStack object to a byte array.
Not applicable to all ETags, only those of OpenStack objects. According to the HTTP spec an eTag can be any string, but the OpenStack Object Storage Administration Guide says that the ETag of an OpenStack object will be an MD5 sum (and MD5 sums are conventionally represented as hex strings). This method only accepts hex strings as input, not arbitrary strings.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||