|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to open a file...
i want to open a file (mp3,txt,wmv,avi etc) to send it via a socket to another user...how can i open the file to read it? what filestream should i use?
|
|
#2
|
||||
|
||||
|
You can use any DataInputStream, and IMHO RandomAccessFile is a nice class for file access.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > Java Development > How to open a file... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|