Examples of RLVizVersion


Examples of rlVizLib.general.RLVizVersion

* @since 1.3
*
*/
        public static RLVizVersion getRLVizSpecVersion(){
                String specAsString=rlVizCore.class.getPackage().getSpecificationVersion();
                return new RLVizVersion(specAsString);
        }
View Full Code Here

Examples of rlVizLib.general.RLVizVersion

  } catch (IOException e) {
    System.err.println("Exception when trying to look up values from the manifest of Jar which created class: "+theClass);
    e.printStackTrace();
  }
}//If statement
  return new RLVizVersion(rlVizLinkVersion);
}//getRLVizLinkVersionOfClass
View Full Code Here

Examples of rlVizLib.general.RLVizVersion

   
    String thePayLoadString=theGenericResponse.getPayload();

    StringTokenizer versionTokenizer = new StringTokenizer(thePayLoadString, ":");

    theVersion=new RLVizVersion(versionTokenizer.nextToken());
             }catch(Exception e){
                throw new NotAnRLVizMessageException();
             }
  }
View Full Code Here

Examples of rlVizLib.general.RLVizVersion

    return theResponse;
  }

  @Override
  public String handleAutomatically(AgentInterface theAgent) {
                RLVizVersion theVersion=rlVizCore.getRLVizSpecVersionOfClassWhenCompiled(theAgent.getClass());
    AgentVersionSupportedResponse theResponse=new AgentVersionSupportedResponse(theVersion);
    return theResponse.makeStringResponse();
  }
View Full Code Here

Examples of rlVizLib.general.RLVizVersion

    return theResponse;
  }

  @Override
  public String handleAutomatically(EnvironmentInterface theEnvironment) {
                RLVizVersion theVersion=rlVizCore.getRLVizSpecVersionOfClassWhenCompiled(theEnvironment.getClass());
    EnvVersionSupportedResponse theResponse=new EnvVersionSupportedResponse(theVersion);
    return theResponse.makeStringResponse();
  }
View Full Code Here

Examples of rlVizLib.general.RLVizVersion

        return theModule;

    }

    private boolean checkVersions(Class<?> theClass) {
    RLVizVersion theLinkedLibraryVizVersion=rlVizLib.rlVizCore.getRLVizSpecVersion();
    RLVizVersion ourCompileVersion=rlVizLib.rlVizCore.getRLVizSpecVersionOfClassWhenCompiled(theClass);
   
    if(!theLinkedLibraryVizVersion.equals(ourCompileVersion)){
      System.err.println("Warning :: Possible RLVizLib Incompatibility");
      System.err.println("Warning :: Runtime version used by "+theClass.getName()+" is:  "+theLinkedLibraryVizVersion);
      System.err.println("Warning :: Compile version used to build "+theClass.getName()+" is:  "+ourCompileVersion);
View Full Code Here

Examples of rlVizLib.general.RLVizVersion

   
    String thePayLoadString=theGenericResponse.getPayload();

    StringTokenizer versionTokenizer = new StringTokenizer(thePayLoadString, ":");

    theVersion=new RLVizVersion(versionTokenizer.nextToken());
             }catch(Exception e){
                throw new NotAnRLVizMessageException();
             }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.