public String getData(InputStream inputStream) throws IOException {
        Scanner reader = new Scanner(inputStream);
        reader.useDelimiter("\\|");
        return reader.hasNext() ? reader.next() : "";
    }