X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=supported%2FInfoText.java;h=42e2c13b6f75a1e32afa10f560361c1670ea9572;hb=HEAD;hp=2af8c7e2f4880139540aa6f7f4e4895fd6e4742d;hpb=31e27ee3108543141f9bfd2efce8c0fa024460a1;p=nikiroo-utils.git diff --git a/supported/InfoText.java b/supported/InfoText.java deleted file mode 100644 index 2af8c7e..0000000 --- a/supported/InfoText.java +++ /dev/null @@ -1,32 +0,0 @@ -package be.nikiroo.fanfix.supported; - -import java.io.File; -import java.io.IOException; -import java.net.URL; - -import be.nikiroo.fanfix.data.MetaData; - -/** - * Support class for .info text files ({@link Text} files with a - * .info metadata file next to them). - *

- * The .info file is supposed to be written by this program, or - * compatible. - * - * @author niki - */ -class InfoText extends Text { - protected File getInfoFile() { - return new File(assureNoTxt(getSourceFile()).getPath() + ".info"); - } - - @Override - protected MetaData getMeta() throws IOException { - return InfoReader.readMeta(getInfoFile(), true); - } - - @Override - protected boolean supports(URL url) { - return supports(url, true); - } -}