Package org.semanticweb.owlapi.util

Examples of org.semanticweb.owlapi.util.Version


        }
        while (filled<version.length) {
            version[filled]=0;
            filled++;
        }
        return new Version(version[0],version[1],version[2],version[3]);
    }
View Full Code Here


      return "Herakles Reasoner";
  }

  @Override
  public Version getReasonerVersion() {
    return new Version(1, 1, 1, 1);
  }
View Full Code Here

    int major = parseNumberIfExists( versionNumbers, 0 );
    int minor = parseNumberIfExists( versionNumbers, 1 );
    int patch = parseNumberIfExists( versionNumbers, 2 );
    int build = parseNumberIfExists( versionNumbers, 3 );
   
    return new Version( major, minor, patch, build );
  }
View Full Code Here

                String[] versions = p.getProperty("plugin.version").split("[-.]");         // X.Y.Z
                int major = Integer.parseInt(versions[0]);
                int minor = Integer.parseInt(versions[1]);
                int patch = Integer.parseInt(versions[2]);
                int build = (int) (System.currentTimeMillis() / 1000);          // FIXME
                REASONER_VERSION = new Version(major, minor, patch, build);
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
        return REASONER_VERSION;
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.util.Version

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.