|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
interface TapeLoader
The interface for factories that load tapes from file storage.
| Method Summary | |
|---|---|
java.io.File
|
fileFor(java.lang.String tapeName)
@return an appropriate file for storing a tape with the supplied name. |
java.lang.Object
|
loadTape(java.lang.String name)
Loads the named tape or returns a new blank tape if an existing tape cannot be located. |
void
|
writeTape(StorableTape tape)
|
| Method Detail |
|---|
java.io.File fileFor(java.lang.String tapeName)
java.lang.Object loadTape(java.lang.String name)
name - the name of the tape.
void writeTape(StorableTape tape)
Groovy Documentation