|
|
|
Re: Finding (ascii) strings in byte[] data [message #8475 is a reply to message #8249] |
Tue, 16 December 2008 15:32  |
Eclipse User |
|
|
|
Hi Andreas,
One use case for searching in byte[]/char[] in addition to Strings is this:
I have a snapshot of a servlet container serving a number of concurrent
threads at the moment the snapshot was taken. Now I want to search for
some attributes of a particular request. For example: full URL or remote
IP address.
I'm pretty sure that this data is available in some internal data
structures of (in this case) Catalina - in fact it is. However, since
those structures are relatively close to the "network stack", a lot of
the data is in form of byte[]/char[].
In other cases I don't actually know for sure if some data can be found
in the snapshot. However, I just want to search with a net as wide as
possible.
In the ideal situation I'd specify a search pattern, and then
enable/disable some checkboxes (or similar) to indicate what kind of
"character-like" objects I want to target. I'm not sure what the best UI
would be.
That aside, being able to search through all String/byte[]/char[] in one
sweep would be a very powerful feature.
Just thinking...are there any more potential character data objects that
could be potential targets for such an expanded pattern search?
-tt
|
|
|
Powered by
FUDForum. Page generated in 0.03955 seconds