org.herac.tuxguitar.io.abc
Class ABCSongImporter

java.lang.Object
  extended byorg.herac.tuxguitar.io.abc.ABCSongImporter
All Implemented Interfaces:
org.herac.tuxguitar.io.base.TGLocalFileImporter, org.herac.tuxguitar.io.base.TGRawImporter

public class ABCSongImporter
extends java.lang.Object
implements org.herac.tuxguitar.io.base.TGLocalFileImporter


Field Summary
static int[][] PERCUSSION_TUNINGS
           
 
Constructor Summary
ABCSongImporter()
           
 
Method Summary
 boolean configure(boolean setDefaults)
           
 org.herac.tuxguitar.io.base.TGFileFormat getFileFormat()
           
 java.lang.String getImportName()
           
 org.herac.tuxguitar.song.models.TGSong importSong()
           
 void init(org.herac.tuxguitar.song.factory.TGFactory factory, java.io.InputStream stream)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERCUSSION_TUNINGS

public static final int[][] PERCUSSION_TUNINGS
Constructor Detail

ABCSongImporter

public ABCSongImporter()
Method Detail

getFileFormat

public org.herac.tuxguitar.io.base.TGFileFormat getFileFormat()
Specified by:
getFileFormat in interface org.herac.tuxguitar.io.base.TGLocalFileImporter

getImportName

public java.lang.String getImportName()
Specified by:
getImportName in interface org.herac.tuxguitar.io.base.TGRawImporter

configure

public boolean configure(boolean setDefaults)
Specified by:
configure in interface org.herac.tuxguitar.io.base.TGLocalFileImporter

init

public void init(org.herac.tuxguitar.song.factory.TGFactory factory,
                 java.io.InputStream stream)
Specified by:
init in interface org.herac.tuxguitar.io.base.TGLocalFileImporter

importSong

public org.herac.tuxguitar.song.models.TGSong importSong()
                                                  throws org.herac.tuxguitar.io.base.TGFileFormatException
Specified by:
importSong in interface org.herac.tuxguitar.io.base.TGRawImporter
Throws:
org.herac.tuxguitar.io.base.TGFileFormatException