public class UriReader extends Object implements BatchComponent, ServerComponent
Constructor and Description |
---|
UriReader(org.sonar.api.utils.UriReader.SchemeProcessor[] processors) |
Modifier and Type | Method and Description |
---|---|
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.
|
public UriReader(org.sonar.api.utils.UriReader.SchemeProcessor[] processors)
public byte[] readBytes(URI uri)
public String readString(URI uri, Charset charset)
public String description(URI uri)
Copyright © 2009-2012 SonarSource. All Rights Reserved.