Interface IObjectParser<T>
Interface for parsers that generate objects of some sort.
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public interface IObjectParser<T>
Type Parameters
Name | Description |
---|---|
T | Generated Object Type. |
Remarks
Primarily used as a marker interface in relation to Mime
Methods
| Improve this Doc View SourceParse(StreamReader)
Parses an Object from an Input Stream.
Declaration
T Parse(StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Input Stream. |
Returns
Type | Description |
---|---|
T |
Remarks
Primarily used as a marker interface in relation to Mime
Parse(TextReader)
Parses an Object from a Text Stream.
Declaration
T Parse(TextReader input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Text Stream. |
Returns
Type | Description |
---|---|
T |
Remarks
Primarily used as a marker interface in relation to Mime
ParseFromFile(string)
Parses an Object from a File.
Declaration
T ParseFromFile(string file)
Parameters
Type | Name | Description |
---|---|---|
string | file | Filename. |
Returns
Type | Description |
---|---|
T |
Remarks
Primarily used as a marker interface in relation to Mime
ParseFromString(string)
Parses an Object from a String.
Declaration
T ParseFromString(string data)
Parameters
Type | Name | Description |
---|---|---|
string | data | String. |
Returns
Type | Description |
---|---|
T |
Remarks
Primarily used as a marker interface in relation to Mime