|
From: Alexander G. <gaf...@us...> - 2006-01-31 19:57:38
|
Update of /cvsroot/cobricks/cobricks2/src/org/cobricks/portal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19881/src/org/cobricks/portal Modified Files: PortalRequest.java Log Message: getLinkAbbviations added Index: PortalRequest.java =================================================================== RCS file: /cvsroot/cobricks/cobricks2/src/org/cobricks/portal/PortalRequest.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- PortalRequest.java 5 Aug 2005 11:25:49 -0000 1.14 +++ PortalRequest.java 31 Jan 2006 19:57:22 -0000 1.15 @@ -14,6 +14,7 @@ import java.io.*; import java.util.*; + import javax.servlet.*; import javax.servlet.http.*; @@ -21,6 +22,7 @@ import org.apache.velocity.VelocityContext; import org.cobricks.core.util.LogUtil; +import org.cobricks.portal.wiki.Utility; /** @@ -439,4 +441,13 @@ return request.getParameter(aname); } + /** + * Get the link abbreviations which are stored in the file "properties.txt" + * in "org.cobricks.portal" + * @return Map with the link abbreviations and the whole link. + */ + public Map getLinkAbbreviations() { + return Utility.getLinkAbbreviations(); + } + } |