Package com.bayesserver
Interface NameValuesReader
-
public interface NameValuesReaderInterface for reading name/value pairs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontains(String name)Determines whether a value exists for a particular name.InputStreamread(String name)Reads the value (as a stream) for a particular name.
-
-
-
Method Detail
-
read
InputStream read(String name)
Reads the value (as a stream) for a particular name.- Parameters:
name- The name of the value to retrieve.- Returns:
- The stream containing the value if the name exists, or throws an exception otherwise.
-
contains
boolean contains(String name)
Determines whether a value exists for a particular name.- Parameters:
name- The name corresponding to the value.- Returns:
trueif the value exists,falseotherwise.
-
-