Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## vut.msa.utilities
Class StringUtilities

    java.lang.Object
      vut.msa.utilities.StringUtilities

    public class StringUtilities

extends java.lang.Object

Trieda poskytuje metody pre pracu s retazcami.

Constructor Summary
`StringUtilities()`

Method Summary
`static java.lang.String` | `getFormatedUptime(int uptime)` Metoda naformatuje cas behu systemu v milisekundach na textovy retazec.
`java.lang.String[]` | `tokenizeString(java.lang.String source, java.lang.String delimiter)` Metoda rozdeli retazec na pole retazcov na zaklade zadaneho deliaceho znaku.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StringUtilities

    public StringUtilities()

Method Detail

### tokenizeString

    public java.lang.String[] tokenizeString(java.lang.String source,
                                             java.lang.String delimiter)

  Metoda rozdeli retazec na pole retazcov na zaklade zadaneho deliaceho znaku.

  Parameters:
    `source` - retazec, ktory sa ma rozdelit
    `delimiter` - deliaci znak
  Returns:
    pole retazcov

### getFormatedUptime

    public static java.lang.String getFormatedUptime(int uptime)

  Metoda naformatuje cas behu systemu v milisekundach na textovy retazec.

  Parameters:
    `uptime` - cas v milisekundach
  Returns:
    retazec v tvare "# dní, # hodín, # min."

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD