I have little problem with the conversion of java.lang.String to the java.io.InputStream.....

I have about 500 Strings which I would like to convert to InputStreams. Obviously if I go through
FileInputStream ,it would tie lot of resources since I will have to write each string to the File object first. for instantiating object of the FileInputStream(File f )

...

Can anyone help on this ????
Thank you in advance ...