← Back to team overview

sikuli-driver team mailing list archive

[Question #184158]: [Java] Using methods from org.sikuli.script.OS; in java

 

New question #184158 on Sikuli:
https://answers.launchpad.net/sikuli/+question/184158

I need to get access to methods from org.sikuli.script.OS; in Java.

import org.sikuli.script.OS;

//Field
private OS myOS;.


public void Test(){

tempString = "filename";
		dir = "\\\\server\\folder\\folder\\";
		path = os.path.join(dir, tempString);
}

I get an error when I try to use os.path.join

Shouldn't I get access to all the methods in the class after I use the import statement?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.