Returns the name of the resource.
@return	the name of the resource
169871
public String getName() {
    ResourceServices services = getServices();
    return (services != null) ? services.getResourceName() : null;
  }
774771
public String getResourceFilename() {
        switch (resourceType) {
        case ANDROID_ASSETS:
            return assetPath
                    .substring(assetPath.lastIndexOf(File.separator) + 1);

        case ANDROID_RESOURCE:
            return resourceFilePath.substring(
                    resourceFilePath.lastIndexOf(File.separator) + 1);

        case LINUX_FILESYSTEM:
            return filePath.substring(filePath.lastIndexOf(File.separator) + 1);

        case NETWORK:
            return url.getPath().substring(url.getPath().lastIndexOf("/") + 1);

        case INPUT_STREAM:
            return inputStreamName;

        default:
            return null;
        }
    }
1281516
public String[] getResourceNames() {
        if (null != resourcesList) {
            return resourcesList.toArray(new String[resourcesList.size()]);
        }
        if (null != basedirListing) {
            return basedirListing.toArray(new String[basedirListing.size()]);
        }
        String[] list = listZipPath(zipFile, resourcesBasedir);
        if (null != list) {
            basedirListing = Arrays.asList(list);
            return list;
        }
        return new String[0];
    }
812661
public static String resourceName(URI uri) {
        if (!CLASSPATH_SCHEME.equals(uri.getScheme())) {
            throw new IllegalArgumentException("uri must have classpath scheme " + uri);
        }

        String resourceName = uri.getSchemeSpecificPart();
        if (resourceName.startsWith("/")) {
            return resourceName.substring(1);
        }
        return resourceName;
    }
784799
public String getServerName()
    {
        String host=_listener.getHost();
        if (InetAddrPort.__0_0_0_0.equals(host) &&
            _connection instanceof Socket)
            host = ((Socket)_connection).getLocalAddress().getHostName();
        
        return host;
    }
1196847
@Override
	public String getName()
	{
		StringBuilder result = new StringBuilder();
		String prefix = "";

		for (IPOContext ctxt : this)
		{
			String name = ctxt.getName();

			if (name.length() > 0)
			{
				result.append(prefix);
				result.append(name);
				prefix = ", ";
			}
		}

		return result.toString();
	}
1228601
public String name() {
        torrent_status ts = th.status(torrent_handle.query_name);
        return ts.getName();
    }
770097
public String serviceName()
    {
        if (tc.isEntryEnabled())
            Tr.entry(tc, "serviceName", this);
        if (tc.isEntryEnabled())
            Tr.exit(tc, "serviceName", _serviceName);
        return _serviceName;
    }
104518
@Override
    public String getResourceName() {

        String nameString = null;
        nameString = mcWrapper.gConfigProps.getXpathId();

        return nameString;

    }
1167642
public function getResourceName()
    {
        return $this->name !== null ? $this->name : str_replace('_', '-', (new Inflector())->tableize($this->getManager()->getName()));
    }
731754
public String getSimpleName()
  {
    String name = getName();

    int p = name.lastIndexOf('.');

    return name.substring(p + 1);
  }
1357688
public Resourcepart getNickname() {
        final EntityFullJid myRoomJid = this.myRoomJid;
        if (myRoomJid == null) {
            return null;
        }
        return myRoomJid.getResourcepart();
    }
432943
public String getName() {

        String name = getName(m_rootPath);
        if (name.charAt(name.length() - 1) == '/') {
            return name.substring(0, name.length() - 1);
        } else {
            return name;
        }
    }
482002
public String getName()
    {
    	    
        StringBuilder name = new StringBuilder();
        if(lastName != null && lastName.length() > 0)
        		name.append(lastName);
        
        
        if(name.length() > 0)
            name.append(", ");
        if(firstName != null && firstName.length() > 0)
        		name.append(firstName);
        
        return name.toString();
    }
1080324
public String getFullName()
  {
    StringBuilder name = new StringBuilder();

    name.append(getName());
    name.append("(");

    JClass []params = getParameterTypes();
    for (int i = 0; i < params.length; i++) {
      if (i != 0)
        name.append(", ");

      name.append(params[i].getShortName());
    }

    name.append(')');

    return name.toString();
  }
1194950
protected function getKeyNameFromResource()
    {
        $resource = $this->getForeignResource();

        if (!is_null($resource) && (($field = $resource->getPrimaryField()) != null)) {
            return $field->name;
        }

        return null;
    }
1299262
@Override
    public String getName() {
        final String tableNamePrefix = StringUtils.isNotBlank(Latkes.getLocalProperty("jdbc.tablePrefix"))
                ? Latkes.getLocalProperty("jdbc.tablePrefix") + "_"
                : "";

        return tableNamePrefix + name;
    }