private String getLineDelimiter() {
   BundleInputContext inputContext = getBundleContext();
   if (inputContext != null) {
     return inputContext.getLineDelimiter();
   }
   return System.getProperty("line.separator"); // $NON-NLS-1$
 }
Ejemplo n.º 2
0
  private void initPaths() {

    sootClasspath.initialize();

    // platform location
    platform_location = getSootSelection().getJavaProject().getProject().getLocation().toOSString();
    platform_location =
        platform_location.substring(
            0, platform_location.lastIndexOf(System.getProperty("file.separator")));
    // external jars location - may need to change don't think I use this anymore
    setOutputLocation(
        platform_location + getFileHandler().getSootOutputFolder().getFullPath().toOSString());
  }