org.blinkenlights.jid3.io
Interface IFileSource

All Known Implementing Classes:
FileSource

public interface IFileSource

An interface for all file sources for MP3s (allows non java.io.File sources to be used, such as NFS XFile objects).


Method Summary
 IFileSource createTempFile(java.lang.String sPrefix, java.lang.String sSuffix)
           
 boolean delete()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.io.OutputStream getOutputStream()
           
 long length()
           
 boolean renameTo(IFileSource oFileSource)
           
 java.lang.String toString()
           
 

Method Detail

createTempFile

public IFileSource createTempFile(java.lang.String sPrefix,
                                  java.lang.String sSuffix)
                           throws java.io.IOException
Throws:
java.io.IOException

delete

public boolean delete()

getName

public java.lang.String getName()

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

getOutputStream

public java.io.OutputStream getOutputStream()
                                     throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

length

public long length()

renameTo

public boolean renameTo(IFileSource oFileSource)
                 throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()