Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Loading an encrypted file
icon1.gif  Loading an encrypted file [message #925421] Thu, 27 September 2012 17:50
Moritz Höser is currently offline Moritz HöserFriend
Messages: 11
Registered: September 2012
Junior Member
Hi all,

When an encrypted text file is opened in the text editor, one only see the ascii garbage. I would like to engage with the loading process and decrypt the file, so that the InputStream gives out the normal ascii characters.
I could write an EditorPart that alters the content after loading and before editing, but I would rather want to provide a decrypted Input/OutputStream, so that other Editors can work with the file content, too.

What would be the best way to present an encrypted file to editors? As far as I understand, a FileStore can only be provided with a FileSystem which is registered to a custom uri scheme, but I would like to work with the normal filesystem.

Any help would be appreciated. Thank you.

Moritz
Previous Topic:How to add keydown/up event listener on eclipse rcp editor view?
Next Topic:How does one add File->Switch Workspace option to an RCP <eom>
Goto Forum:
  


Current Time: Fri Nov 28 00:39:29 GMT 2014

Powered by FUDForum. Page generated in 0.01862 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software