1 package be
.nikiroo
.fanfix
.supported
;
4 import java
.io
.IOException
;
7 import be
.nikiroo
.fanfix
.data
.MetaData
;
10 * Support class for <tt>.info</tt> text files ({@link Text} files with a
11 * <tt>.info</tt> metadata file next to them).
13 * The <tt>.info</tt> file is supposed to be written by this program, or
18 class InfoText
extends Text
{
19 protected File
getInfoFile() {
20 return new File(assureNoTxt(getSourceFile()).getPath() + ".info");
24 protected MetaData
getMeta() throws IOException
{
25 return InfoReader
.readMeta(getInfoFile(), true);
29 protected boolean supports(URL url
) {
30 return supports(url
, true);