|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.dragon.util.DragonRepoFileLocator
public class DragonRepoFileLocator
| Constructor Summary | |
|---|---|
DragonRepoFileLocator()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getRepoFileURL(ContentType type,
java.lang.String fileName,
java.lang.String fileId,
javax.servlet.http.HttpServletRequest request)
Build a repository file url from "dragon.properties" and given parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DragonRepoFileLocator()
| Method Detail |
|---|
public static java.lang.String getRepoFileURL(ContentType type,
java.lang.String fileName,
java.lang.String fileId,
javax.servlet.http.HttpServletRequest request)
throws java.io.IOException
type - the content type of the file, used to choose a file "suffix"fileName - the file namefileId - the file unique identifiercontext - the servlet context
java.io.IOException - if the dragon.properties file can't be read
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||