|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sonar.api.utils.UriReader
public class UriReader
Reads different types of URI. Supported schemes are http and file.
| Constructor Summary | |
|---|---|
UriReader(org.sonar.api.utils.UriReader.SchemeProcessor[] processors)
|
|
| Method Summary | |
|---|---|
String |
description(URI uri)
Returns a detailed description of the given uri. |
byte[] |
readBytes(URI uri)
Reads all bytes from uri. |
String |
readString(URI uri,
Charset charset)
Reads all characters from uri, using the given character set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UriReader(org.sonar.api.utils.UriReader.SchemeProcessor[] processors)
| Method Detail |
|---|
public byte[] readBytes(URI uri)
public String readString(URI uri,
Charset charset)
public String description(URI uri)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||