Why does that matter?
Type: Posts; User: b_jones10634
Why does that matter?
Why recreate the wheel?
There are already several Java libraries out that handle Excel read/write functions, one of which is developed by Apache.
Look into Apache's POI, or JExcelApi.
I need some help developing a regex pattern that will do the following remove all illegal characters from a file name.
These characters include:
I was able to solve this using XPath:
1) evaluate an XPath statement that returns the node in question ("//location[@name='value']")
2) iterate the returned NodeList object to access the nodes...
I've seen several posts regarding XML processing with Java, however none that I've found address my current problem.
I've developed an XMLFileHandler class that loads a given...
I was able to solve this problem using an older methodology of providing a .jsp page with a progress bar.
By creating a java class that implements both Runnable and Serializable, you can create a...
If there are any gurus out there paying attention, maybe you can help me out?
Lets say on a .jsp page, I have a button, which when clicked transfers the user to another .jsp page....
When I implemented your solution, the results would be near perfect, expect the last number in the string would actually be the second last number in the list of integers.
I'm not sure...
Changing one line in your algoritm produces the correct result
Change this line:
rangeString += rangeStart + "-" + previousNum;
Thanks for your reply, but I'm not sure you understood the problem at hand.
The task is not to find the start of the range... yes that is very easy to accomplish.
The task is to...
Thanks for your input, your solution does seem slightly less convoluted. I wasn't particular happy with my solution based on all the string comparisons and substrings.
I think I'll...
I think I've developed an algorithm that accounts for all necessary scenarios.
Any comments are welcomed.
int startOfCurrentRange = channelNums.get( 0 ).intValue();
int lastNumber =...
Thanks for your reply, unfortunately the algorithm you supplied does not account for all scenarios (it assumes that it will always start with a range, but what if the set is [6, 8, 10, 14, 18]).
I'm trying to develop a function to determine the 'range' of some integer values. 'Range' is the best way I can describe it, but it is different than the mathematical 'range',...