|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ebi.intenz.webapp.utilities.IntEnzUtilities
public class IntEnzUtilities
Provides utility classes, which are used throughout the whole project.
Constructor Summary | |
---|---|
IntEnzUtilities()
|
Method Summary | |
---|---|
static String |
firstLetterToUppercase(String text)
Replaces the first letter with the uppercase letter. |
static String |
linkMarkedEC(String string2Check,
boolean linkUnmarkedECs)
Transforms old links to EC numbers to the current way of linking to them. |
static String |
linkUnmarkedEC(String text)
Tries to link all EC numbers and checks whether the first letter is a uppercase letter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntEnzUtilities()
Method Detail |
---|
public static String linkUnmarkedEC(String text)
text
- The history comment to be formatted.
NullPointerException
- if text
is null
.public static String linkMarkedEC(String string2Check, boolean linkUnmarkedECs)
linkUnmarkedEC(String)
. At the moment it has not been agreed upon this
as some EC should not be linked automatically (esp. in comments).
string2Check
- String to be checked for outdated links.linkUnmarkedECs
-
public static String firstLetterToUppercase(String text)
text
- to be checked.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |