MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / getDefaultSuffix

Method getDefaultSuffix

src/main/java/fieldbox/io/IO.java:943–952  ·  view source on GitHub ↗
(Box box)

Source from the content-addressed store, hash-verified

941
942 return RemoteEditor.getExecution(box, new Dict.Prop<String>(name)).support(box, new Dict.Prop<String>(name)).getDefaultFileExtension();
943
944 }
945
946 return defaultSuffix;
947 }
948
949 public String getLanguage(Box box) {
950
951 if (defaultSuffix.equals(EXECUTION)) {
952 return RemoteEditor.getExecution(box, new Dict.Prop<String>(name)).support(box, new Dict.Prop<String>(name)).getDefaultFileExtension();
953 }
954
955 return language;

Callers 3

toExternalMethod · 0.95
loadSingleBoxMethod · 0.80
makeFilenameForMethod · 0.80

Calls 4

getExecutionMethod · 0.95
equalsMethod · 0.45
supportMethod · 0.45

Tested by

no test coverage detected