public String[] getStreams(String providerName, String streamTag) {
ArrayList<String> streams = new ArrayList<String>();
String[] streamsArray = new String[]{};
if (!this.isProviderExists(providerName)) {
throw new ProviderError(String.format("No such provider \"%s\"", providerName));
}
for (Provider provider : this.providers) {
if (provider.getProviderName().equalsIgnoreCase(providerName)) {
try {