@ScannerSide @ServerSide @ComputeEngineSide public class UriReader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UriReader.SchemeProcessor |
Constructor and Description |
---|
UriReader(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(UriReader.SchemeProcessor[] processors)
public byte[] readBytes(URI uri)
public String readString(URI uri, Charset charset)
public String description(URI uri)
Copyright © 2009–2017 SonarSource. All rights reserved.