Hammy
5864209947
Add simple tests for ClipboardUtils.java
3 years ago
Hammy
8f5cfd2493
Ensure that clipboard changes are tracked properly & don't fire events on same clipboard content
3 years ago
Hammy
92f0d820a1
Add SLF4J
3 years ago
Hammy
d8f8c8ee54
Remove Dimension variable & add equals()/hashcode()
3 years ago
Hammy
4c84c77197
Use custom OldImage instead of BufferedImage
3 years ago
Hammy
792eda1c53
Add more Javadocs
3 years ago
Hammy
3a552cacf2
Add Custom POJO with altered equals method to ensure changes in images are recognised
3 years ago
Hammy
7db4422e64
Ensure MacClipboardListener differentiates between images properly
3 years ago
Hammy
82d23458be
Add functionality for inserting content into clipboard & add functionality to start/stop listening
3 years ago
Hammy
58d98b7ae6
Convert image to RGB instead of ARGB
3 years ago
Hammy
791377538b
Rename fileListMonitored to filesMonitored
3 years ago
Hammy
79763cd19a
Remove empty try/catch
3 years ago
Hammy
caec66e5fa
Simplify code
3 years ago
Hammy
c135c56c2a
Add Installation section
3 years ago
Hammy
15de512cdf
Stub out overridden methods
3 years ago
Hammy
e45b4b9959
Add ability to stop/start listening to clipboard changes & add support for inserting contents into the clipboard
3 years ago
Hammy
a59dafd8fa
Move utility methods to ClipboardUtils.java
3 years ago
Hammy
ecb63e41a2
Move utility methods to ClipboardUtils.java & Add functionality to insert contents into the clipboard
3 years ago
Hammy
07a33f71b4
Add new exception to be thrown when clipboard isn't available
3 years ago
Hammy
7e0ef573e7
Ensure that exceptions are caught and clipboard listener is started again
3 years ago
sgoudham
05dd51546f
Ensure that files are not notified as text to end users
3 years ago
Hammy
8b467ab3d9
Correctly check images against their dimensions for image polling
3 years ago
Hammy
ed97a46735
Ensure that files are checked when polling
3 years ago
Hammy
42416a694f
Step away from subscribe() & unsubscribe()
3 years ago
Hammy
5112d090cd
Implement not null checks for extra safety
3 years ago
Hammy
8fdc3e61c3
Add util method for retrieving OldClipboardContent when object is passed in
3 years ago
Hammy
0e76d29495
Ensure that transfer data can be retrieved
3 years ago
sgoudham
6beeaafad9
Exit method when bufferedimage is null
3 years ago
sgoudham
57b4b96877
Check clipboard contents for safety.
...
Problems can occur within these helper functions as the polling is extremely quick, causing for an edge case where the user copies content before the clipboard has time to process the contents
3 years ago
Hammy
a4665bf9a8
Notify consumers about file changes
3 years ago
Hammy
f4f371be69
Save old file content
3 years ago
Hammy
5af7481679
Implement transferable for list of files
3 years ago
Hammy
992e396504
Update javadoc & add notifyFilesEvent
3 years ago
Hammy
ee4e63166b
Refactor STRING -> TEXT for increased readability
3 years ago
Hammy
96dac0ad5f
Add support for file events
3 years ago
Hammy
cdc08f4d6d
Refactor code
3 years ago
Hammy
acf1dfb30e
Change param names
3 years ago
Hammy
39eb3450c2
Fix javadoc
3 years ago
Hammy
0036d81b66
Comment code that does not work
3 years ago
Hammy
535e35d3e8
Add Helper method for retrieving old clipboard contents
3 years ago
Hammy
96f54330e5
Send Old Clipboard Content to consumers
3 years ago
Hammy
6699906053
Add javadoc & send Old Clipboard Content to consumers
3 years ago
Hammy
f742b03fb9
Add new class to send in notification events
3 years ago
Hammy
1f7b2ca85e
Add javadoc
3 years ago
Hammy
50f521fd1a
Refactor code
3 years ago
Hammy
061e2502c3
Reformat javadoc & methods
3 years ago
Hammy
1b4e0af716
Use eventManager
3 years ago
Hammy
af790bae99
Rename to ClipboardEvent.java
3 years ago
Hammy
2e68802df3
Add separate EventManager class
3 years ago
Hammy
d6b1ae5da9
Update README.md
3 years ago