You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

WebXmlSettings.java 1.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*
  2. * Copyright 2011 gitblit.com.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.gitblit;
  17. import java.util.List;
  18. import javax.servlet.ServletContext;
  19. public class WebXmlSettings implements IStoredSettings {
  20. public WebXmlSettings(ServletContext context) {
  21. }
  22. @Override
  23. public List<String> getAllKeys(String startingWith) {
  24. // TODO Auto-generated method stub
  25. return null;
  26. }
  27. @Override
  28. public boolean getBoolean(String name, boolean defaultValue) {
  29. // TODO Auto-generated method stub
  30. return false;
  31. }
  32. @Override
  33. public int getInteger(String name, int defaultValue) {
  34. // TODO Auto-generated method stub
  35. return 0;
  36. }
  37. @Override
  38. public String getString(String name, String defaultValue) {
  39. // TODO Auto-generated method stub
  40. return null;
  41. }
  42. @Override
  43. public List<String> getStrings(String name) {
  44. // TODO Auto-generated method stub
  45. return null;
  46. }
  47. @Override
  48. public List<String> getStringsFromValue(String value) {
  49. // TODO Auto-generated method stub
  50. return null;
  51. }
  52. @Override
  53. public List<String> getStrings(String name, String separator) {
  54. // TODO Auto-generated method stub
  55. return null;
  56. }
  57. @Override
  58. public List<String> getStringsFromValue(String value, String separator) {
  59. // TODO Auto-generated method stub
  60. return null;
  61. }
  62. @Override
  63. public String toString() {
  64. return "WEB.XML";
  65. }
  66. }