Skip to content

Commit cc42774

Browse files
committed
asap storage got a getter for format
1 parent 10fa688 commit cc42774

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

src/net/sharksystem/asap/ASAPEngine.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,6 +726,11 @@ public int getOldestEra() {
726726
public int getEra() {
727727
return this.era;
728728
}
729+
730+
public CharSequence getFormat() {
731+
return this.format;
732+
}
733+
729734

730735
// public int getNextEra(int era) {
731736
// return this.

src/net/sharksystem/asap/ASAPStorage.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ public interface ASAPStorage {
5757
*/
5858
CharSequence getOwner();
5959

60+
/**
61+
*
62+
* @return storage format / app
63+
*/
64+
CharSequence getFormat();
65+
6066
/**
6167
* Creates a channel with named recipients - we call it a closed channel in opposite
6268
* to an open channel.

0 commit comments

Comments
 (0)