/** Creates a new Lyric from the parentInput's input stream. * The next object in the input stream must be of this type. * * @param parentInput the parent RIFF object being used to read the input stream */ public static Lyric newInstance(Riff parentInput) { Riff riffInput = new Riff(parentInput, RIFF_ID); String text = RiffStringTable.decodeString (RiffForNiff.getStringTable(parentInput), riffInput.readLONG()); return new Lyric (text, riffInput.readBYTE(), RiffTags.newInstance(riffInput)); }
/** Creates a new Lyric from the parentInput's input stream. * The next object in the input stream must be of this type. * * @param parentInput the parent RIFF object being used to read the input stream */ static public Lyric newInstance(Riff parentInput) { Riff riffInput = new Riff(parentInput, RIFF_ID); String text = RiffStringTable.decodeString (RiffForNiff.getStringTable(parentInput), riffInput.readLONG()); return(new Lyric (text, riffInput.readBYTE(), RiffTags.newInstance(riffInput))); }