code: public InputStream getStream() throws ValueFormatException, RepositoryException
     {
        validateStreamMethodInvoking();
  
        try
        {
           if (stream == null)
           {
              stream = getAsStream();
           }
  
           return stream;
        }
        catch (IOException e)
        {
           throw new RepositoryException(e.getMessage(), e);
        }
     }
docs: {@inheritDoc}