Skip to content

Commit 9d4ac07

Browse files
author
mgeipel
committed
added formeta reader
1 parent db3bae2 commit 9d4ac07

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* Copyright 2013 Deutsche Nationalbibliothek
3+
*
4+
* Licensed under the Apache License, Version 2.0 the "License";
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
package org.culturegraph.mf.stream.reader;
17+
18+
import org.culturegraph.mf.stream.converter.FormetaDecoder;
19+
20+
/**
21+
* @author Markus Geipel
22+
*/
23+
public class FormetaReader extends ReaderBase<FormetaDecoder> {
24+
25+
public FormetaReader() {
26+
super(new FormetaDecoder());
27+
}
28+
29+
}

src/main/resources/metastream-readers.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ lido org.culturegraph.mf.stream.reader.LidoReader
88
marcxml org.culturegraph.mf.stream.reader.MarcXmlReader
99
cgxml org.culturegraph.mf.stream.reader.CGXmlReader
1010
csv org.culturegraph.mf.stream.reader.CsvReader
11+
formata org.culturegraph.mf.stream.reader.FormetaReader
1112

1213
text/x-pica org.culturegraph.mf.stream.reader.PicaReader
1314
text/x-mab2 org.culturegraph.mf.stream.reader.MabReader

0 commit comments

Comments
 (0)