change to use language value from dynamic data
git-svn-id: svn://10.0.0.236/trunk@6739 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -272,13 +272,13 @@ public class CPGenerator
|
||||
|
||||
if ( ispData == null )
|
||||
{
|
||||
Trace.TRACE( "isp not found: " + ispName );
|
||||
//Trace.TRACE( "isp not found: " + ispName );
|
||||
return null;
|
||||
}
|
||||
|
||||
int size = ispData.getDynamicDataSize();
|
||||
|
||||
Trace.TRACE( "size: " + size );
|
||||
//Trace.TRACE( "size: " + size );
|
||||
|
||||
if ( size < popIndex )
|
||||
return null;
|
||||
@@ -298,6 +298,18 @@ public class CPGenerator
|
||||
return phoneNum;
|
||||
}
|
||||
|
||||
public static String getISPLanguage( String ispName )
|
||||
{
|
||||
ISPDynamicData ispData = getISPDynamicData( ispName );
|
||||
|
||||
if ( ispData != null )
|
||||
{
|
||||
String ispLanguage = new String( ispData.getLanguage() );
|
||||
return ispLanguage;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/*
|
||||
Takes the given inputFile and looks for strings in the form
|
||||
"@@@string_to_replace@@@" and replaces them with the value
|
||||
|
||||
Reference in New Issue
Block a user