diff --git a/src/main/java/me/goudham/domain/OldClipboardContent.java b/src/main/java/me/goudham/domain/OldClipboardContent.java new file mode 100644 index 0000000..1f75a14 --- /dev/null +++ b/src/main/java/me/goudham/domain/OldClipboardContent.java @@ -0,0 +1,24 @@ +package me.goudham.domain; + +import java.awt.image.BufferedImage; + +public class OldClipboardContent { + private String oldText; + private BufferedImage oldImage; + + public OldClipboardContent(String oldText) { + this.oldText = oldText; + } + + public OldClipboardContent(BufferedImage oldImage) { + this.oldImage = oldImage; + } + + public BufferedImage getOldImage() { + return oldImage; + } + + public String getOldText() { + return oldText; + } +}