Rename RDF.Serialization.Reader to RDF.Reader
This commit is contained in:
parent
5600f8c1ce
commit
de0e656458
2 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
defmodule RDF.Serialization.Reader do
|
||||
defmodule RDF.Reader do
|
||||
|
||||
def read(decoder, file_or_content, opts \\ []) do
|
||||
if File.exists?(file_or_content) do
|
|
@ -24,17 +24,17 @@ defmodule RDF.Serialization do
|
|||
defoverridable [decoder: 0, encoder: 0, options: 0]
|
||||
|
||||
def read(file_or_content, opts \\ []),
|
||||
do: RDF.Serialization.Reader.read(decoder(), file_or_content, opts)
|
||||
do: RDF.Reader.read(decoder(), file_or_content, opts)
|
||||
def read!(file_or_content, opts \\ []),
|
||||
do: RDF.Serialization.Reader.read!(decoder(), file_or_content, opts)
|
||||
do: RDF.Reader.read!(decoder(), file_or_content, opts)
|
||||
def read_string(content, opts \\ []),
|
||||
do: RDF.Serialization.Reader.read_string(decoder(), content, opts)
|
||||
do: RDF.Reader.read_string(decoder(), content, opts)
|
||||
def read_string!(content, opts \\ []),
|
||||
do: RDF.Serialization.Reader.read_string!(decoder(), content, opts)
|
||||
do: RDF.Reader.read_string!(decoder(), content, opts)
|
||||
def read_file(file, opts \\ []),
|
||||
do: RDF.Serialization.Reader.read_file(decoder(), file, opts)
|
||||
do: RDF.Reader.read_file(decoder(), file, opts)
|
||||
def read_file!(file, opts \\ []),
|
||||
do: RDF.Serialization.Reader.read_file!(decoder(), file, opts)
|
||||
do: RDF.Reader.read_file!(decoder(), file, opts)
|
||||
|
||||
@before_compile unquote(__MODULE__)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue