All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robolectric.res.ResourceLoader Maven / Gradle / Ivy

There is a newer version: 3.4-rc2
Show newest version
package org.robolectric.res;

import org.jetbrains.annotations.NotNull;
import org.w3c.dom.Document;

import java.io.InputStream;

public interface ResourceLoader {
  String ANDROID_NS = Attribute.ANDROID_RES_NS_PREFIX + "android";

  String getNameForId(int id);

  TypedResource getValue(@NotNull ResName resName, String qualifiers);

  Plural getPlural(ResName resName, int quantity, String qualifiers);

  Document getXml(ResName resName, String qualifiers);

  DrawableNode getDrawableNode(ResName resName, String qualifiers);

  InputStream getRawValue(ResName resName);

  PreferenceNode getPreferenceNode(ResName resName, String qualifiers);

  ResourceIndex getResourceIndex();

  boolean providesFor(String namespace);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy