mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Put back the buildwithoutj2me target.
git-svn-id: https://zxing.googlecode.com/svn/trunk@119 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
17f54acbdf
commit
87c2c1acaa
|
@ -25,6 +25,11 @@
|
|||
<ant dir="javame" target="build"/>
|
||||
<ant dir="javase" target="build"/>
|
||||
</target>
|
||||
|
||||
<target name="buildwithoutj2me">
|
||||
<ant dir="core" target="build"/>
|
||||
<ant dir="javase" target="build"/>
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
<ant dir="core" target="clean"/>
|
||||
|
|
|
@ -62,7 +62,8 @@ public final class CommandLineRunner {
|
|||
return false;
|
||||
}
|
||||
try {
|
||||
String result = new MultiFormatReader().decode(new BufferedImageMonochromeBitmapSource(image)).getText();
|
||||
BufferedImageMonochromeBitmapSource source = new BufferedImageMonochromeBitmapSource(image);
|
||||
String result = new MultiFormatReader().decode(source).getText();
|
||||
System.out.println(uri.toString() + ": " + result);
|
||||
return true;
|
||||
} catch (ReaderException e) {
|
||||
|
|
Loading…
Reference in a new issue