← Back to team overview

sikuli-driver team mailing list archive

[Question #272590]: How connect a directory with images in Java?

 

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

Now I use this method:
	public static String getPathFor(String file) {
		return ClassLoader.getSystemResource(file).getPath().toString()
				.substring(1);
	}
	
But this method looking only in the directory classpath and does not look for in a subfolder.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.