FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 556 : saveStrings is not a static method
Last modified: 2007-05-07 15:26
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
INVALID -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
vect
Assigned To:
fry
Attachment
Type
Created
Size
Actions
Description
: Opened: 2007-05-07 15:11
One of saveStrings methods is not a static.
Normally it doesn't matter. But I found it when I tried to call saveStrings() out of PApplet
class.
Bug? or is there any reason?
from source 3119:
public void saveStrings(String filename, String strings[]) ......
static public void saveStrings(File file, String strings[]) ......
static public void saveStrings(OutputStream output, String strings[]) ......
Additional Comment
#1 From fry 2007-05-07 15:14
not a bug. saveStrings() saves the data relative to the applet's location,
so it cannot be a static method except when using an OutputStream or a File
object.
Additional Comment
#2 From vect 2007-05-07 15:26
oh I see. thanks