Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.yaml.snakeyaml.util
Class UriEncoder

    java.lang.Object
      org.yaml.snakeyaml.util.UriEncoder

    public abstract class UriEncoder

extends Object

Constructor Summary
`UriEncoder()`

Method Summary
`static String` | `decode(ByteBuffer buff)` Decode '%'-escaped characters.
`static String` | `decode(String buff)`
`static String` | `encode(String uri)` Escape special characters with '%'

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### UriEncoder

    public UriEncoder()

Method Detail

### encode

    public static String encode(String uri)

  Escape special characters with '%'

### decode

    public static String decode(ByteBuffer buff)
                         throws CharacterCodingException

  Decode '%'-escaped characters. Decoding fails in case of invalid UTF-8

  Throws:
    `CharacterCodingException`

### decode

    public static String decode(String buff)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011. All Rights Reserved.