at.lcm.x2c.scilab.utils
Class Utils

java.lang.Object
  extended by at.lcm.x2c.scilab.utils.Utils

public class Utils
extends java.lang.Object

Utilities.

Author:
sfragner

Field Summary
static java.lang.String SUPERBLOCK_SEP
          separation string between Superblock and its child
 
Constructor Summary
Utils()
           
 
Method Summary
static java.lang.String getChildLabel(java.lang.String fullLabel)
          Extraction of child label from full block label.
static java.lang.String getParentLabel(java.lang.String fullLabel)
          Extraction of parent label (Superblock prefix) from full block label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUPERBLOCK_SEP

public static final java.lang.String SUPERBLOCK_SEP
separation string between Superblock and its child

See Also:
Constant Field Values
Constructor Detail

Utils

public Utils()
Method Detail

getParentLabel

public static java.lang.String getParentLabel(java.lang.String fullLabel)
Extraction of parent label (Superblock prefix) from full block label.

Parameters:
fullLabel -
Returns:
Parent label (Superblock prefix) including Superblock separator

getChildLabel

public static java.lang.String getChildLabel(java.lang.String fullLabel)
Extraction of child label from full block label.

Parameters:
fullLabel -
Returns:
Child label of full label without Superblock prefix.


Copyright 2019 LCM. All rights reserved.