@Test (groups = "deserializationTest") public void testGenerateSourcePathFromPackageName() { Assert.assertEquals(Utils.generateSourcePathFromPackageName("com.linkedin.avro"), "/com/linkedin/avro/"); }
public static String generateSourcePathFromPackageName(String packageName) { StringBuilder pathBuilder = new StringBuilder(File.separator); Arrays.stream(packageName.split("\\.")).forEach( s -> pathBuilder.append(s).append(File.separator)); return pathBuilder.toString(); }
Utils { public static String generateSourcePathFromPackageName(String packageName) { StringBuilder pathBuilder = new StringBuilder(File.separator); Arrays.stream(packageName.split("\\.")).forEach( s -> pathBuilder.append(s).append(File.separator)); return pathBuilder.toString(); } }
Utils { public static String generateSourcePathFromPackageName(String packageName) { StringBuilder pathBuilder = new StringBuilder(File.separator); Arrays.stream(packageName.split("\\.")).forEach( s -> pathBuilder.append(s).append(File.separator)); return pathBuilder.toString(); } private  Utils(); }
Utils { public static String generateSourcePathFromPackageName(String packageName) { StringBuilder pathBuilder = new StringBuilder(File.separator); Arrays.stream(packageName.split("\\.")).forEach( s -> pathBuilder.append(s).append(File.separator)); return pathBuilder.toString(); } private  Utils(); static boolean isAvro14(); static boolean isSupportedAvroVersionsForDeserializer(); static boolean isSupportedAvroVersionsForSerializer(); static AvroVersion getRuntimeAvroVersion(); static List<AvroVersion> getAvroVersionsSupportedForDeserializer(); static List<AvroVersion> getAvroVersionsSupportedForSerializer(); static String generateSourcePathFromPackageName(String packageName); static Long getSchemaFingerprint(Schema schema); static String inferCompileDependencies(String existingCompileClasspath, String filePath, Set<String> knownUsedFullyQualifiedClassNameSet); }
Utils { public static String generateSourcePathFromPackageName(String packageName) { StringBuilder pathBuilder = new StringBuilder(File.separator); Arrays.stream(packageName.split("\\.")).forEach( s -> pathBuilder.append(s).append(File.separator)); return pathBuilder.toString(); } private  Utils(); static boolean isAvro14(); static boolean isSupportedAvroVersionsForDeserializer(); static boolean isSupportedAvroVersionsForSerializer(); static AvroVersion getRuntimeAvroVersion(); static List<AvroVersion> getAvroVersionsSupportedForDeserializer(); static List<AvroVersion> getAvroVersionsSupportedForSerializer(); static String generateSourcePathFromPackageName(String packageName); static Long getSchemaFingerprint(Schema schema); static String inferCompileDependencies(String existingCompileClasspath, String filePath, Set<String> knownUsedFullyQualifiedClassNameSet);  }