|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object blackboard.platform.filesystem.CourseFileManager
public class CourseFileManager
A service that retrieves the appropiate File object representing the path to a content file for a course in the Blackboard application.
Constructor Summary | |
---|---|
CourseFileManager()
|
Method Summary | |
---|---|
static java.io.File |
getContentDirectory(java.lang.String courseId)
Returns the content parent directory for the given Course. |
static java.io.File |
getContentDirectory(java.lang.String courseId,
Id contentId)
Returns the directory that stores the given piece of content for the given Course. |
java.lang.String |
getWebContentDirectory(Course crs,
Id contentId)
Returns the web based directory where content and course document items are stored. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CourseFileManager()
Method Detail |
---|
public java.lang.String getWebContentDirectory(Course crs, Id contentId) throws FileSystemException
user-defined
- string course id (name)course
- Course
content
- Id
for the content item in the course
FileSystemException
public static java.io.File getContentDirectory(java.lang.String courseId) throws FileSystemException
courseId
- The Id for the given Course.
FileSystemException
public static java.io.File getContentDirectory(java.lang.String courseId, Id contentId) throws FileSystemException
courseId
- The Id for the given Course.contentId
- The Id for the given piece of content.
FileSystemException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |