| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> !ping <0> biter! <1> I'm making a program for a cl*** ***ignment and I need to store my output in a binary file. I'm using ObjectOutputStream to do this. My book says that a stream is a binary file and a writer is text. Upon showing my file to a cl***mate he told me that it's a text file because you can read text from it. (I mean read with your eyes) He said a binary file stores everything, including Strings as bytes. Is this true? <2> ryanstein . binary just means it is no standard format imho <3> kmh: :-) <2> ryanstein : yes it stores everything (i.e. the whole object) but that has nothing to do with being binary or not <2> and if you write a binary output it is not likely that you can see the letters of string when looking at a file <2> though that depends how the storing mechanism of that particular software (here java works) <3> kmh: did you get ntfs to work ? <2> if it adds compression or such, you won't recognize your strings <2> starsky_ : i didn't install it <3> ok. <2> starsky_ : just bookmarked the page, as it might come on handy
<3> :) <2> but i don't need it right now and i'm always a bit vary about installations outside the distribution <2> on = in <3> :) yeah you might as well wait for a while and when ready.. just use it. <1> Thanks guys. <2> starsky_ . well ideally it might get incorporated into a distro <3> maybe kmh. <3> but maybe not because it's about hacking ntfs and it's proprietary stuff. <4> morning. <3> hi <1> I'm trying to read a binary file into some objects and an ArrayList with the following command: ArrayList<MathQuiz> records = (ArrayList<MathQuiz>) in.readObject(); <1> My compiler is telling me it's an unreported exception and must be caught or declared to be thrown. Does this mean put a "throws Exception" on my method declaration, or something else? <3> ryanstein: yes. <1> Thanks <1> Ahh, just figured it out. <1> When I did that I got the same error when I tried to run that method, I needed a try/catch block. <3> ryanstein: unreported exception and must be caught or declared to be thrown explains it all I guess. <2> mathquiz sounds interesting <3> time to do something useful.. tata.. <5> if I have a semaphore with one permit and then let a method aqcuire it, does this mean that no other methods in the cl*** may run? <6> morning <7> does any1 know struts? <6> depends on the question <7> (String)mesaje1.getMessage(getLocale(request),"propName"); <7> this gets the value of a property <7> mesaje1 is MessageResources <7> how can i update this prop at runtime? <6> You'd have to extend PropertyMessageResources and provide access to the internal map <5> anybody here? <6> no <8> hm.. I must say, I'm starting to like maven <6> leper outcast unclean! <8> jottinger: I take it you have a diffren oppinion? ;) <6> I still have a lot of disdain for maven <6> maven 2 might be okay once it fleshes out the archetypes better <8> well, this is maven2 I'm playing with. never tried version 1, and don't see much point in digging up the trash <9> hi <9> any one is here? <6> no <6> perhaps they would be if someone said something eliciting a response <6> but since nobody's said anything worth responding to... <6> BTW, I'm a bot <9> well,, i have to print a credential whit a pic and some information <9> and i have no idea how to do it? <9> so? <9> any one is here? <6> haha <10> When building a Java swnig application, is there some way I can embed the swing-layout-1.0.jar into my app.jar? <8> fatbrain: not per default, but you could use jarjar to do it if shipping an external dependency is unfeasible
<8> and there is another tool called onejar to do the same I believe <10> wlfshmn: thanks I'll give that some tries. <8> I personally prefere shipping external libraries though (although my own private copy of them ofcourse), because it akes it easy to tell what is mine and what isn't, and easy to upgrade <10> y, I prefer external libs too, but I want to avoid packing the .jar. Sending it to a few friends (nublets, they are) <11> Hi all <8> Hello <10> probably me thinking *wrong*, should I be able to listen for mouse-wheel events in my JComponent? <11> Does Java have support for MouseWheel events? <11> if it does, then yes, you should. <11> if it doesnt, then no you shouldnt <10> cry, I do hope it does, I was kinda... expecting that <11> shockingly...Google helps here: "Java mousewheel events" <11> It took all of 3 secs to run that query <11> http://java.sun.com/docs/books/tutorial/uiswing/events/mousewheellistener.html <10> processMouseWheelEvent <10> yeah, thanks :) <10> I was to busy with the javadoc :( <11> Google has lots of answers... <11> hence the title of this IRC channel... <11> you are likely to get much more ***istance if you ask questions which are not answered in the first line of a google search.. <10> </nag> <10> hah! <11> its a fact :-) <11> I have a small 2 color BufferedImage. What's the fastest way to invert the colors? <8> StanAccy: fastest? use your friendly gimp ;) <11> haha. I meant programatically, on the fly. <8> yeah, well, then I don't know ;) <12> hi <12> can somebody help me pls ? i need help...it's an emergency <4> topic probably says something similar to: "Don't ask to ask, just ask" <12> how can i make a program with a pic in pascal? <11> this is a JAVA channel <4> geez <11> why on earth would you ask a PASCAL question? <12> oups .. i didn't realise that i'm on java .. :P <12> who knew ? <11> maybe you should change your nick to perfect_idiot? <12> hey ... wait a sec ... <12> i'm not a stupid girl because i'm blonde <12> talk is cheap <12> :P <12> so? <12> it's silent here <11> it would be if you shut up <13> we need our mediation. Thats pretty common on Java. <6> hey Resonator <14> Hey jottinger <11> Lo Jo <11> +e <15> Hi <15> In a JSP, how can i get the base path of the servlet? Like http://www.mysite.com/mywebapp/images/test.gif <15> I want to get /mywebapp <15> nvm, request.getContextPath(); <16> Hi all <17> Hi. :) <6> hey <18> umbro
Return to
#java or Go to some related
logs:
rcpiod choey dalnet #AllNiteCafe #chatzone netgear ap dammi burger j2fs heilderburg school hack my bum mobile cuntrycode
|
|