com.aragost.javahg
Class Changeset.Extra
java.lang.Object
com.aragost.javahg.Changeset.Extra
- Enclosing class:
- Changeset
public class Changeset.Extra
- extends Object
Class representing the extra dictionary Mercurial has for each
changeset.
The values can be binary data, but is typically strings. For
this reason there is accessor methods to access the values as
both byte array and String.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getString
public String getString(String key)
- Parameters:
key
-
- Returns:
- The extra data for the key as a String
getBytes
public byte[] getBytes(String key)
- Parameters:
key
-
- Returns:
- The extra data for the key as byte array
stringValuedMap
public Map<String,String> stringValuedMap()
- Returns:
- a view on the extra data dictionary where values
are Strings.
byteArrayValuedMap
public Map<String,byte[]> byteArrayValuedMap()
- Returns:
- a view on the extra data dictionary where values
are byte arrays.
Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.