diff options
author | Sven Gothel <[email protected]> | 2014-09-10 07:21:03 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-09-10 07:21:03 +0200 |
commit | c97e35377aea70cb293cabdd205bcc5da64b95c6 (patch) | |
tree | 52b4be4132fca18aff3067c199b9d6e9d54dfcac /src/java/com/jogamp/common/net/AssetURLStreamHandler.java | |
parent | 6a466e3f1e92a1e831ea61d1bb72c32f56b2a28d (diff) |
Bug 1063: Uri: Refine API doc; Add create(Encoded ..) ; Provide common impl. for getNormalized(), getDirectory(), getParent() and getRelativeOf()
- Refine API doc
- Add notion of {@code host} and {@code port} validation
- Add create(Encoded ..), allowing creation of variants w/o re-encoding
- Provide common impl. for getNormalized(), getDirectory(), getParent() and getRelativeOf()
Above feature methods share common goals, hence use same implementation:
- If opaque, cut-off query and merge after operation
- cleanup path, i.e. /dummy/../test/ -> /test/
- cutoff file, dir - if requested
- append optional appendix and cleanup again
Return behavior various thought, i.e. null, this or allow exception.
Enhanced test of above features.
Diffstat (limited to 'src/java/com/jogamp/common/net/AssetURLStreamHandler.java')
0 files changed, 0 insertions, 0 deletions