MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / BrowserFilePathNotify

Method BrowserFilePathNotify

src/main/java/VCard/VCardView.java:189–196  ·  view source on GitHub ↗
(String pathSelected)

Source from the content-addressed store, hash-verified

187
188//#if FILE_IO
189 public void BrowserFilePathNotify(String pathSelected) {
190 if (vcard.hasPhoto) {
191 //System.out.println(photoType+"->"+getFileType(photoType));
192 String filename = StringUtils.replaceBadChars(vcard.getNickDate());
193 FileIO file = FileIO.createConnection(pathSelected + filename + vcard.getFileType());
194 file.writeFile(vcard.getPhoto());
195 }
196 }
197//#endif
198
199 public void commandState() {

Callers

nothing calls this directly

Calls 6

replaceBadCharsMethod · 0.95
createConnectionMethod · 0.95
writeFileMethod · 0.95
getNickDateMethod · 0.80
getFileTypeMethod · 0.80
getPhotoMethod · 0.80

Tested by

no test coverage detected