Questions tagged as 'filewriter'

2
answers

Add content to a file without overwriting the content

I would like to be able to solve the doubt of how to make it possible that when restarting the console do not overwrite and continue writing at the end of the line: import java.io.*; public class RedirectSystemOut { public static void main(...
asked by 09.05.2017 / 12:57
3
answers

error in can not convert from string to System.IO.Stream

Create a series of methods in a class to read and write text files, and in one of the methods I get an error: public static void CreateAllText(string path, string contenidos, Encoding encoding) { if (!File.Exists(path)) {...
asked by 06.12.2018 / 22:17
1
answer

Run java jar, does not load project files

I have a project in java, in which I open a pdf file with an option, when I run it from IntelliJ, it uploads the file without problems, but at the time of creating the .jar it does not load it and it tells me that it does not exist the file. The...
asked by 27.05.2018 / 04:37
0
answers

undefine in nodejs when creating folder

From the database I'm getting ip and id , and when I want to create a folder and put the ip as the name I get undefined and the folder is created but with the name undefined, inside of that folder I am creating a photo and th...
asked by 23.07.2017 / 18:21
1
answer

Help I need to read Java files

Hello! After a long wait at the end, I have to develop a small exercise with Threads. I have a set of txt files with 4 colors in RGB code (red, green, blue), each file contains the rgb colors separated by spaces and the color name: "84 84...
asked by 07.03.2018 / 05:12
2
answers

FlieWriter with cycle for

I have this code and I want certain words to be modified and I take care that the cycle is modified so that it changes every time but it only modifies the file once, they could tell me where I am wrong or how to do what I am thinking. ? import...
asked by 04.06.2018 / 07:12
0
answers

Simple threads in Java with files

I have some text files what they are going to have is simple formulas like 2 + 2, 6 * 90, etc. Each file has to be read by a thread (for each file we will create a thread) that will be responsible for reading the contents of the file and perform...
asked by 23.02.2018 / 20:59