Palm Database (PDB) files in Java?

Has anyone written any classes for reading and writing Palm Database (PDB) files in Java? (I mean on the server, not on the Palm device itself.) I tried to make Google, but all I had was links to Protein Beta files.

I wrote a Perl program that does this with Palm :: PDB.pm, but I want to turn it into a servlet for a GWT application.

+3
source share
4 answers

The jSyncManager project at http://www.jsyncmanager.org/ is located under the LGPL and includes classes for reading and writing PDB files - look at jSyncManager / API / Protocol / Util / DLPDatabase.java in the source code. It looks like the main code you need can be isolated from the rest of the library with little effort.

+2
source

There are several ways you can do this;

  • The simplest but slowest: find the bridge perl-> java. It will not be fast, but it will work, and it should include the least amount of work.
  • Find the C ++ / C # implementation in which you have the source and convert it (this should be the fastest solution)
  • Finding a Java reader ... it seems there are a few listed on Google ... however I have no experience with them.
+1

, , . , .

2 , . , , . , PDB .

, . , .

So now you have file offsets for each record in the file, which should make it easier to read the actual records if you know their format for the type of PDB file you are trying to read.

Wikipedia has a good overview of header formats.

+1
source

Maybe JPilot can help? They should have a lot of Java code related to Palm OS data.

+1
source

Source: https://habr.com/ru/post/1721619/


All Articles