Use this API to fetch streamidentifier resource of given name .
975531
public static streamidentifier get(nitro_service service, String name) throws Exception{
		streamidentifier obj = new streamidentifier();
		obj.set_name(name);
		streamidentifier response = (streamidentifier) obj.get_resource(service);
		return response;
	}
137563
private Identity fetch(final String token) throws IOException {
        final String uri = new Href(this.api).path("user")
            .with(PsGithub.ACCESS_TOKEN, token).toString();
        return PsGithub.parse(
            new JdkRequest(uri)
                .header("accept", "application/json")
                .fetch().as(RestResponse.class)
                .assertStatus(HttpURLConnection.HTTP_OK)
                .as(JsonResponse.class).json().readObject()
        );
    }
81210
public static Reader getReader(String name) {
		InputStream inputStream = getInputStream(name);
		if (inputStream != null) {
			BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream));
			return reader;
		}
		return null;
	}
48753
public static base_responses update(nitro_service client, streamidentifier resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			streamidentifier updateresources[] = new streamidentifier[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new streamidentifier();
				updateresources[i].name = resources[i].name;
				updateresources[i].selectorname = resources[i].selectorname;
				updateresources[i].interval = resources[i].interval;
				updateresources[i].samplecount = resources[i].samplecount;
				updateresources[i].sort = resources[i].sort;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
995424
def loadFromStream(self, stream, name=None):
        """"""
        document = DOM.loadDocument(stream)
        wsdl = WSDL()
        if name:
            wsdl.location = name
        elif hasattr(stream, 'name'):
            wsdl.location = stream.name
        wsdl.load(document)
        return wsdl
371788
public static int getDrawableIdentifier(String name) {
        Resources res = Resources.getSystem();
        return res.getIdentifier(name, TYPE_DRAWABLE, NATIVE_PACKAGE);
    }
202696
public InputStream getResourceAsStream(String name)
  {
    Source path;

    path = getPath(name);

    if (path != null && path.canRead()) {
      try {
        return path.inputStream();
      } catch (Exception e) {
      }
    }

    return null;
  }
73508
public Reader getConfResourceAsReader(String name) {
		try {
			URL url= getResource(name);

			if (url == null) {
				LOG.info(name + " not found");
				return null;
			} else {
				LOG.info("found resource " + name + " at " + url);
			}

			return new InputStreamReader(url.openStream(), Charsets.UTF_8);
		} catch (Exception e) {
			return null;
		}
	}
228945
private static int getIdentifier(Context context, String type, String key) {
    return context.getResources().getIdentifier(key, type, context.getPackageName());
  }
1333117
private InputStream getTintendResourceStream(int id, TypedValue value, int color) {
		Bitmap bitmap = getBitmapFromResource(id, value);
		bitmap = BitmapUtils.applyColor(bitmap, color);
		return getStreamFromBitmap(bitmap);
	}
832023
public static authenticationauthnprofile get(nitro_service service, String name) throws Exception{
		authenticationauthnprofile obj = new authenticationauthnprofile();
		obj.set_name(name);
		authenticationauthnprofile response = (authenticationauthnprofile) obj.get_resource(service);
		return response;
	}
138108
public static netprofile get(nitro_service service, String name) throws Exception{
		netprofile obj = new netprofile();
		obj.set_name(name);
		netprofile response = (netprofile) obj.get_resource(service);
		return response;
	}
1127549
public static Optional<NameID> getNameId(Response response, Predicate<NameID> filter) {
        return response.getAssertions().stream()
                       .map(s -> s.getSubject().getNameID())
                       .filter(filter)
                       .findFirst();
    }
889663
public static MethodIdentifier getIdentifier(final Class<?> returnType, final String name, final Class<?>... parameterTypes) {
        return new MethodIdentifier(returnType.getName(), name, namesOf(parameterTypes));
    }
713316
public static clusternodegroup_streamidentifier_binding[] get(nitro_service service, String name) throws Exception{
		clusternodegroup_streamidentifier_binding obj = new clusternodegroup_streamidentifier_binding();
		obj.set_name(name);
		clusternodegroup_streamidentifier_binding response[] = (clusternodegroup_streamidentifier_binding[]) obj.get_resources(service);
		return response;
	}
116098
public InputStream get(String name)
	{
		InputStream ret;

		if(name == null)
			throw new NullPointerException("name is null");
		if((ret = loader.getResourceAsStream(prefix + name))==null)
			throw new ResourceException("Unable to find resource for " + name);
		return ret;
	}
368262
@Override
    public Message get(ClientIdentity clientIdentity, int batchSize) throws CanalServerException {
        return get(clientIdentity, batchSize, null, null);
    }