Let's say I have a file called foo.txt with the data
- "this is a sentence"
Looking at it with defragmentation tools, I can see 1 extent.
What I want to do is insert something in it without having to rewrite the data, so it would look like this :
- "this is a"
- "modified"
- "sentence"
With 3 extents, does Java supports that ?