|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sakaiproject.tool.assessment.business.entity.FileNamer
public class FileNamer
Copyright: Copyright (c) 2003
Organization: Stanford University
This class implements common methods for describing data needed to record/save and retrieve audio recordings.
Usage (hypothetical example):
RecordingData rd = new RecordingData( agent_name, agent_id, course_name,
course_id); log.debug("file" + rd.getFileName() + "." +
rd.getFileExtension());
| Constructor Summary | |
|---|---|
FileNamer()
|
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
DOCUMENTATION PENDING |
static String |
make(String agent_name,
String agent_id,
String course_assignment_context)
Makes a unique file name from the data supplied. |
static void |
unitTest()
unit test for use with jUnit etc. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileNamer()
| Method Detail |
|---|
public static String make(String agent_name,
String agent_id,
String course_assignment_context)
agent_name - The name of the person uploading the fileagent_id - The id code of the person uploading the filecourse_assignment_context - The name of the course, assignment, part,
quetion etc.
public static void unitTest()
public static void main(String[] args)
args - DOCUMENTATION PENDING
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||