FileOpener

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## thegroup.projectcddb.database
Class FileOpener

    java.lang.Object
      thegroup.projectcddb.database.FileOpener

All Implemented Interfaces:
  ClientInterface

public final class FileOpener
extends java.lang.Object
implements ClientInterface

Constructor Summary
`FileOpener()`

Method Summary
`java.lang.String` | `getFile(java.lang.String fileName)` getCDDBFile Retrieves by discid the xmcd file specified by input parameter fileName from the CDDB database.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FileOpener

    public FileOpener()

Method Detail

### getFile

    public java.lang.String getFile(java.lang.String fileName)

  getCDDBFile Retrieves by discid the xmcd file specified by input parameter fileName from the CDDB database.

  Specified by:
    `getFile` in interface `ClientInterface`
  Parameters:
    `fileName` - String The discid of the desired xmcd file. The discid is the name of the file.
  Returns:
    String The xmcd file in string form, with new lines separated by "\n". If file-not-found, return null.

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD