org.camunda.bpm.extension.osgi.util
Class NameVersionTypeExtractor

java.lang.Object
  extended by org.camunda.bpm.extension.osgi.util.NameVersionTypeExtractor

public class NameVersionTypeExtractor
extends Object

Helper class to extract name, version and type from a jar file.

Author:
Ronny Bräunlich

Constructor Summary
NameVersionTypeExtractor()
           
 
Method Summary
static String[] extractNameVersionType(String jarName)
          Tries to extract name, version and type from a jar name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameVersionTypeExtractor

public NameVersionTypeExtractor()
Method Detail

extractNameVersionType

public static String[] extractNameVersionType(String jarName)
Tries to extract name, version and type from a jar name. The return String-array contains either

name and version

or

name, version and type

Parameters:
jarName -
Returns:


Copyright © 2015 camunda services GmbH. All rights reserved.