Class AudioAnnotationsFileChooser

    • Constructor Detail

      • AudioAnnotationsFileChooser

        public AudioAnnotationsFileChooser()
        Constructs a FileChooser pointing to the user's default directory.
      • AudioAnnotationsFileChooser

        public AudioAnnotationsFileChooser​(File currentDirectory)
        Constructs a FileChooser using the given File as the path.
        Parameters:
        currentDirectory - the path to start in
      • AudioAnnotationsFileChooser

        public AudioAnnotationsFileChooser​(String currentDirectory)
        Constructs a FileChooser using the given path.
        Parameters:
        currentDirectory - the path to start in
    • Method Detail

      • getDefaultReader

        protected adams.data.io.input.AbstractDataContainerReader<AudioAnnotations> getDefaultReader()
        Returns the default reader.
        Specified by:
        getDefaultReader in class adams.gui.chooser.AbstractConfigurableExtensionFileFilterFileChooser<adams.data.io.input.AbstractDataContainerReader<AudioAnnotations>,​adams.data.io.output.AbstractDataContainerWriter<AudioAnnotations>>
        Returns:
        the default reader
      • getDefaultWriter

        protected adams.data.io.output.AbstractDataContainerWriter<AudioAnnotations> getDefaultWriter()
        Returns the default writer.
        Specified by:
        getDefaultWriter in class adams.gui.chooser.AbstractConfigurableExtensionFileFilterFileChooser<adams.data.io.input.AbstractDataContainerReader<AudioAnnotations>,​adams.data.io.output.AbstractDataContainerWriter<AudioAnnotations>>
        Returns:
        the default writer
      • getReaderClass

        protected Class getReaderClass()
        Returns the reader superclass for the GOE.
        Specified by:
        getReaderClass in class adams.gui.chooser.AbstractConfigurableExtensionFileFilterFileChooser<adams.data.io.input.AbstractDataContainerReader<AudioAnnotations>,​adams.data.io.output.AbstractDataContainerWriter<AudioAnnotations>>
        Returns:
        the reader class
      • getWriterClass

        protected Class getWriterClass()
        Returns the writer superclass for the GOE.
        Specified by:
        getWriterClass in class adams.gui.chooser.AbstractConfigurableExtensionFileFilterFileChooser<adams.data.io.input.AbstractDataContainerReader<AudioAnnotations>,​adams.data.io.output.AbstractDataContainerWriter<AudioAnnotations>>
        Returns:
        the writer class
      • doInitializeFilters

        protected void doInitializeFilters()
        Performs the actual initialization of the filters.
        Specified by:
        doInitializeFilters in class adams.gui.chooser.AbstractConfigurableExtensionFileFilterFileChooser<adams.data.io.input.AbstractDataContainerReader<AudioAnnotations>,​adams.data.io.output.AbstractDataContainerWriter<AudioAnnotations>>
      • getReaderForFile

        public adams.data.io.input.AbstractDataContainerReader<AudioAnnotations> getReaderForFile​(File file)
        Returns the reader for the specified file.
        Parameters:
        file - the file to determine a reader for
        Returns:
        the reader, null if none found
      • getWriterForFile

        public adams.data.io.output.AbstractDataContainerWriter<AudioAnnotations> getWriterForFile​(File file)
        Returns the writer for the specified file.
        Parameters:
        file - the file to determine a reader for
        Returns:
        the writer, null if none found