Go to Post Legend has it that Brandon installs the server in a bulletproof case shortly before Kickoff. That way, when the server explodes, the damage to surrounding things is minimal. - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-09-2011, 20:24
conwill345's Avatar
conwill345 conwill345 is offline
Student Programmer
AKA: Connor Willison
FRC #0708 (Hardwired Fusion)
Team Role: Programmer
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Hatboro-Horsham High School
Posts: 11
conwill345 is an unknown quantity at this point
2nd Java IO Question

We're still working on our off season project, and would like to know if it is legal for Java code have multiple files open at once(for example, multiple open FileConnection objects in existance), and, if it exists, the maximum number that can be opened at once. There doesn't seem to be much documentation on the subject, and it isn't possible for us to test it at this point.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-09-2011, 23:07
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,077
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: 2nd Java IO Question

Quote:
Originally Posted by conwill345 View Post
We're still working on our off season project, and would like to know if it is legal for Java code have multiple files open at once(for example, multiple open FileConnection objects in existance), and, if it exists, the maximum number that can be opened at once. There doesn't seem to be much documentation on the subject, and it isn't possible for us to test it at this point.
You can definitely open more than one FileConnection at a time (I have done it). I have no idea what the maximum is, however.
Reply With Quote
  #3   Spotlight this post!  
Unread 23-09-2011, 18:58
conwill345's Avatar
conwill345 conwill345 is offline
Student Programmer
AKA: Connor Willison
FRC #0708 (Hardwired Fusion)
Team Role: Programmer
 
Join Date: Jul 2011
Rookie Year: 2010
Location: Hatboro-Horsham High School
Posts: 11
conwill345 is an unknown quantity at this point
Re: 2nd Java IO Question

Thank you once again! You guys have (hopefully) saved us a lot of testing time!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:33.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi