📅  最后修改于: 2022-03-11 14:59:31.410000             🧑  作者: Mango
try (ClipboardWriter writer = BuiltInClipboardFormat.SPONGE_SCHEMATIC.getWriter(new FileOutputStream(file))) {
writer.write(clipboard);
}