Skip to content
This repository was archived by the owner on Feb 18, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
public interface MappingsFormat {
MappingsFormat SEARGE_FORMAT = SrgMappingsFormat.INSTANCE;
MappingsFormat COMPACT_SEARGE_FORMAT = CompactSrgMappingsFormat.INSTANCE;
MappingsFormat TINY_FORMAT = TinyMappingsFormat.INSTANCE;

default Mappings parse(Readable readable) throws IOException {
Scanner scanner = new Scanner(readable);
Expand Down
25 changes: 25 additions & 0 deletions src/main/java/net/techcable/srglib/format/TinyMappingsFormat.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package net.techcable.srglib.format;

import net.techcable.srglib.mappings.Mappings;
import net.techcable.srglib.utils.LineProcessor;

import java.io.IOException;

/**
* @author Mark Vainomaa
*/
/* package */ class TinyMappingsFormat implements MappingsFormat {
public static final TinyMappingsFormat INSTANCE = new TinyMappingsFormat();

private TinyMappingsFormat() {}

@Override
public LineProcessor<Mappings> createLineProcessor() {
throw new UnsupportedOperationException("Not done yet.");
}

@Override
public void write(Mappings mappings, Appendable output) throws IOException {
throw new UnsupportedOperationException("Not done yet.");
}
}