[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a2tools for ProDOS (?)
On Fri, 29 Aug 2003 18:53:37 GMT, "John B. Matthews"
<nospam@nospam.com> wrote:
(SNIP)
>Sounds good. I'm looking at getopt (or similar) in java and what
>options to do. Perhaps we (you, Chris and c.s.a.p) have some
>ideas. For my own purposes (similar to Chris's) I was thinking:
>
>-l <imagename> (list image, recursive, native format)
>-g <pathname> <imagename> (get file from image)
>-p <sourcepath> <destpath> <imagename> (put file into image)
>-h (help)
Yeah, that's pretty much the idea.. I think there will be some more
options required when using "-p" to put a file into a disk image.
We'll probably have to include the file-type info (.SYS, .BIN, etc for
ProDOS and B/A/I etc for DOS 3.3) plus a starting address (for some
types, like .SYS/.BIN in ProDOS and B in DOS 3.3) and maybe a "raw"
mode like a2tools has.
so maybe something like:
-p <source> <destpath> [type] [$address] <imagename>
>> Presumably you're using the object model - anything missing or hard to
>> understand? In particular, I'm thinking of the Disk classes.
>
>I'm only using storage; I don't have eclipse or swt. I stumbled
>briefly with AppleWorksWordProcessorFileFilter dragging in the
>whole ui:-) Reading & writing files _looks_ easy:-)
>
>John
Same thing here; not using SWT or anything, just the storage classes.