Skip to content
This repository was archived by the owner on Jan 8, 2023. It is now read-only.

Commit 857546c

Browse files
committed
save javadoc
1 parent 92b6313 commit 857546c

File tree

1 file changed

+7
-0
lines changed
  • src/main/java/io/github/spair/byond/dmi

1 file changed

+7
-0
lines changed

src/main/java/io/github/spair/byond/dmi/Dmi.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ public Dmi(final String name, final int totalWidth, final int totalHeight,
5454
}
5555
}
5656

57+
/**
58+
* Method to serialize current object to file. File would have proper metadata,
59+
* so it will become fully functional file of dmi format.
60+
* The only difference from original dmi file could be that, during saving, state duplicates will be placed together.
61+
*
62+
* @param file fully functional dmi file with proper metadata
63+
*/
5764
public void save(final File file) {
5865
try {
5966
DmiWriter.writeToFile(file, this);

0 commit comments

Comments
 (0)