Skip to content

Commit f0883cd

Browse files
committed
Create biblio package
The `biblio` package contains modules for working with bibliographic data formats.
1 parent ac64e1f commit f0883cd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+192
-241
lines changed

src/main/java/org/culturegraph/mf/stream/converter/xml/AlephMabXmlHandler.java renamed to src/main/java/org/culturegraph/mf/biblio/AlephMabXmlHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* See the License for the specific language governing permissions and
1313
* limitations under the License.
1414
*/
15-
package org.culturegraph.mf.stream.converter.xml;
15+
package org.culturegraph.mf.biblio;
1616

1717
import org.culturegraph.mf.framework.FluxCommand;
1818
import org.culturegraph.mf.framework.StreamReceiver;

src/main/java/org/culturegraph/mf/stream/converter/bib/AseqDecoder.java renamed to src/main/java/org/culturegraph/mf/biblio/AseqDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.stream.converter.bib;
16+
package org.culturegraph.mf.biblio;
1717

1818
import org.culturegraph.mf.framework.FluxCommand;
1919
import org.culturegraph.mf.framework.StreamReceiver;

src/main/java/org/culturegraph/mf/stream/converter/bib/MabDecoder.java renamed to src/main/java/org/culturegraph/mf/biblio/MabDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.stream.converter.bib;
16+
package org.culturegraph.mf.biblio;
1717

1818
import java.util.regex.Pattern;
1919

src/main/java/org/culturegraph/mf/iso2709/DirectoryBuilder.java renamed to src/main/java/org/culturegraph/mf/biblio/iso2709/DirectoryBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.iso2709;
16+
package org.culturegraph.mf.biblio.iso2709;
1717

18-
import static org.culturegraph.mf.iso2709.Iso2709Constants.FIELD_SEPARATOR;
19-
import static org.culturegraph.mf.iso2709.Iso2709Constants.MAX_PAYLOAD_LENGTH;
20-
import static org.culturegraph.mf.iso2709.Iso2709Constants.TAG_LENGTH;
18+
import static org.culturegraph.mf.biblio.iso2709.Iso2709Constants.FIELD_SEPARATOR;
19+
import static org.culturegraph.mf.biblio.iso2709.Iso2709Constants.MAX_PAYLOAD_LENGTH;
20+
import static org.culturegraph.mf.biblio.iso2709.Iso2709Constants.TAG_LENGTH;
2121

2222
import org.culturegraph.mf.framework.FormatException;
2323

src/main/java/org/culturegraph/mf/iso2709/DirectoryEntry.java renamed to src/main/java/org/culturegraph/mf/biblio/iso2709/DirectoryEntry.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.iso2709;
16+
package org.culturegraph.mf.biblio.iso2709;
1717

18-
import static org.culturegraph.mf.iso2709.Iso2709Constants.MAX_BASE_ADDRESS;
19-
import static org.culturegraph.mf.iso2709.Iso2709Constants.MIN_BASE_ADDRESS;
20-
import static org.culturegraph.mf.iso2709.Iso2709Constants.RECORD_LABEL_LENGTH;
21-
import static org.culturegraph.mf.iso2709.Iso2709Constants.TAG_LENGTH;
18+
import static org.culturegraph.mf.biblio.iso2709.Iso2709Constants.MAX_BASE_ADDRESS;
19+
import static org.culturegraph.mf.biblio.iso2709.Iso2709Constants.MIN_BASE_ADDRESS;
20+
import static org.culturegraph.mf.biblio.iso2709.Iso2709Constants.RECORD_LABEL_LENGTH;
21+
import static org.culturegraph.mf.biblio.iso2709.Iso2709Constants.TAG_LENGTH;
2222

2323
/**
2424
* Provides access to a directory entry. A {@code DirectoryEntry} works like

src/main/java/org/culturegraph/mf/iso2709/FieldHandler.java renamed to src/main/java/org/culturegraph/mf/biblio/iso2709/FieldHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.iso2709;
16+
package org.culturegraph.mf.biblio.iso2709;
1717

1818
/**
1919
* Callback interface defining the events emitted by

src/main/java/org/culturegraph/mf/iso2709/FieldsBuilder.java renamed to src/main/java/org/culturegraph/mf/biblio/iso2709/FieldsBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.iso2709;
16+
package org.culturegraph.mf.biblio.iso2709;
1717

18-
import static org.culturegraph.mf.iso2709.Iso2709Constants.FIELD_SEPARATOR;
19-
import static org.culturegraph.mf.iso2709.Iso2709Constants.IDENTIFIER_MARKER;
20-
import static org.culturegraph.mf.iso2709.Iso2709Constants.RECORD_SEPARATOR;
18+
import static org.culturegraph.mf.biblio.iso2709.Iso2709Constants.FIELD_SEPARATOR;
19+
import static org.culturegraph.mf.biblio.iso2709.Iso2709Constants.IDENTIFIER_MARKER;
20+
import static org.culturegraph.mf.biblio.iso2709.Iso2709Constants.RECORD_SEPARATOR;
2121

2222
import java.nio.charset.Charset;
2323
import java.nio.charset.StandardCharsets;

src/main/java/org/culturegraph/mf/iso2709/Iso2709Constants.java renamed to src/main/java/org/culturegraph/mf/biblio/iso2709/Iso2709Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.iso2709;
16+
package org.culturegraph.mf.biblio.iso2709;
1717

1818
/**
1919
* Constants defining the positions and lengths of the elements of an ISO

src/main/java/org/culturegraph/mf/iso2709/Iso646ByteBuffer.java renamed to src/main/java/org/culturegraph/mf/biblio/iso2709/Iso646ByteBuffer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.iso2709;
16+
package org.culturegraph.mf.biblio.iso2709;
1717

1818
import java.nio.charset.Charset;
1919

src/main/java/org/culturegraph/mf/iso2709/Iso646Constants.java renamed to src/main/java/org/culturegraph/mf/biblio/iso2709/Iso646Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.culturegraph.mf.iso2709;
16+
package org.culturegraph.mf.biblio.iso2709;
1717

1818
import java.nio.charset.Charset;
1919
import java.nio.charset.StandardCharsets;

0 commit comments

Comments
 (0)