예제 #1
0
파일: Provider.cs 프로젝트: minam365/JavApi
            /*
             * Returns a string containing a concise, human-readable description of
             * this {@code Service}.
             *
             * @return a printable representation for this {@code Service}.
             */
            public override String ToString()
            {
                String result = "Provider " + provider.getName() + " Service " //$NON-NLS-1$ //$NON-NLS-2$
                                + type + "." + algorithm + " " + className;    //$NON-NLS-1$ //$NON-NLS-2$

                if (aliases != null)
                {
                    result = result + "\nAliases " + aliases.toString(); //$NON-NLS-1$
                }
                if (attributes != null)
                {
                    result = result + "\nAttributes " + attributes.toString(); //$NON-NLS-1$
                }
                return(result);
            }
 public override String ToString()
 {
     return(map.toString());
 }