package de.danoeh.antennapod.core.feed; public class ID3Chapter extends Chapter { public static final int CHAPTERTYPE_ID3CHAPTER = 2; /** * Identifies the chapter in its ID3 tag. This attribute does not have to be * store in the DB and is only used for parsing. */ private String id3ID; public ID3Chapter(String id3ID, long start) { super(start); this.id3ID = id3ID; } public ID3Chapter(long start, String title, FeedItem item, String link) { super(start, title, item, link); } @Override public String toString() { return "ID3Chapter [id3ID=" + id3ID + ", title=" + title + ", start=" + start + ", url=" + link + "]"; } @Override public int getChapterType() { return CHAPTERTYPE_ID3CHAPTER; } public String getId3ID() { return id3ID; } }