|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.modules.scorm.server.servermodels.ScoUtils
public final class ScoUtils
A utility class used for operations on CMI datamodel elements.
| Constructor Summary | |
|---|---|
ScoUtils()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
addTimes(java.lang.String atotalTime,
java.lang.String asessionTime)
Utility method to add two CMITimespan values together, such as session_time and total_time from the CMI datamodel. |
static int[] |
parseTime(java.lang.String strtime)
Method to take in a CMITimespan string value and return an integer array of the values it contains, so that we can can perform arithmetic |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScoUtils()
| Method Detail |
|---|
public static java.lang.String addTimes(java.lang.String atotalTime,
java.lang.String asessionTime)
atotalTime - - a cmi.core.total_timeasessionTime - a cmi.core.session_time
public static int[] parseTime(java.lang.String strtime)
strtime - strin CMITimespan
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||