This content has been marked as final.
Show 2 replies
-
1. Re: Has some way that the editor only shows me some part of a file that is passed as input?
dgolovin Dec 23, 2010 5:02 PM (in response to agunin)I would implement IStorage interface wrapper that controls what part of InputStream instance from getContents() to return.
Then I would implement wrapper around FileEditoInput with overridden method getStorage(). This method should return IStorage implementation wrapper described above which wraps real IStorage instance returned by real FileEditorInput instance. All this wrappers should have start position in file and length parameters to control what part of file should be presented in editor.
-
2. Re: Has some way that the editor only shows me some part of a file that is passed as input?
agunin Dec 27, 2010 10:27 AM (in response to dgolovin)Thanks for responding!
Would you give me an example to clarify your answer, do not quite understand what you say you have to do