Added some more information to the README
This commit is contained in:
parent
5d6285435a
commit
7fd421d2b8
10
README.md
10
README.md
|
@ -230,8 +230,11 @@ A script to manage this could look something like this:
|
||||||
|
|
||||||
```java
|
```java
|
||||||
|
|
||||||
// Load a new BdfObject instance
|
/*
|
||||||
BdfFileManager bdf = new BdfFileManager("hello.bdf");
|
Get a new BdfObject instance, it could be existing,
|
||||||
|
or from another file, BdfArray, or BdfNamedList instance.
|
||||||
|
*/
|
||||||
|
BdfObject bdf = new BdfObject();
|
||||||
|
|
||||||
// Create the HelloWorld class
|
// Create the HelloWorld class
|
||||||
HelloWorld hello = new HelloWorld();
|
HelloWorld hello = new HelloWorld();
|
||||||
|
@ -251,7 +254,4 @@ hello.hello();
|
||||||
// Save the classes bdf data
|
// Save the classes bdf data
|
||||||
manager.save();
|
manager.save();
|
||||||
|
|
||||||
// Save the bdf from the manager to a file
|
|
||||||
bdf.saveDatabase();
|
|
||||||
|
|
||||||
```
|
```
|
Loading…
Reference in New Issue