code: public static DbPipe toDbPipe(String pipeName, final String[] array) throws DevFailed {
          DbPipe dbPipe = new DbPipe(pipeName);
          try {
              int index = 3;
              final int nbProperties = Integer.parseInt(array[index++]);
              for (int i=0 ; i<nbProperties ; i++) {
                  String  propertyName = array[index++];
                  final int nbValues = Integer.parseInt(array[index++]);
                  String[]    arrayValues = new String[nbValues];
                  for (int v=0 ; v<nbValues ; v++) {
                      arrayValues[v] = array[index++];
                  }
                  dbPipe.add(new DbDatum(propertyName, arrayValues));
              }
          }
          catch (Exception e) {
              Except.throw_exception("TangoApi_SyntaxError",  "Cannot convert data to DbPipe: "+e);
          }
          return dbPipe;
      }
docs: ==========================================================================